Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Goodbye old friend

  • Loading branch information...
commit 593cac6950da505161718ce866496a73f36bb0e8 1 parent ced54ee
@kennethkalmer kennethkalmer authored committed
Showing with 24 additions and 16 deletions.
  1. +21 −2 README
  2. +0 −11 TODO
  3. +3 −3 activerecord-tableless.gemspec
View
23 README
@@ -1,8 +1,27 @@
ActiveRecord Tableless
----------------------
-A single implementation of the ActiveRecord Tableless pattern for any Rails
-project or other Ruby project that uses ActiveRecord.
+<DEPRECATED_NOTICE>
+
+This library is no longer maintained and not recommended for general use.
+With Rails 3.0 on the way, and the new ActiveModel::Validations mixin,
+the library becomes worthless.
+
+Until Rails 3.0 is released you might want to consider looking at the excellent
+Validator [1] gem from Jay Fields that provides the same functionality (in
+terms of validations) but doesn't require ActiveRecord at all.
+
+I've updated the gemspec so that this gem will not work with ActiveRecord 3.0
+or later.
+
+1 - http://validatable.rubyforge.org/
+
+This was my first gem ever, so it will be surely missed.
+
+</DEPRECATED_NOTICE>
+
+A single implementation of the ActiveRecord Tableless Model pattern for any
+Rails project or other Ruby project that uses ActiveRecord.
Define a model like this:
View
11 TODO
@@ -1,11 +0,0 @@
-0.1.x (Make it useful)
-* More documentation, better examples
-* Tests
-* CLI Tools for installing into in existing Rails project
-
-0.2.x (Completely detach all db operations)
-* Mock out #find, #save and others
-
-0.3.x (Transporter series)
-* Use tableless models to easily serialize/deserialize data for portability
- (not persistance)
View
6 activerecord-tableless.gemspec
@@ -1,12 +1,12 @@
spec = Gem::Specification.new do |spec|
spec.name = 'activerecord-tableless'
- spec.summary = %q{A library for implementing tableless ActiveRecord models}
+ spec.summary = %q{A DEPRECATED library for implementing tableless ActiveRecord models}
spec.description = %q{ActiveRecord Tableless provides a simple mixin for creating models that are not bound to the database. This approach is mostly useful for capitalizing on the features ActiveRecord::Validation}
spec.authors = ["Michal Zima", "Kenneth Kalmer"]
spec.email = "xhire@mujmalysvet.cz"
spec.files = ["*.rb", "lib/*.rb", "Rakefile", "README", "CHANGELOG"].collect {|f| Dir.glob(f) }.flatten
- spec.version = "0.1.1"
- spec.add_dependency("activerecord")
+ spec.version = "1.0.0"
+ spec.add_dependency("activerecord", ">0", "<3.0.0")
spec.has_rdoc = true
spec.extra_rdoc_files = %w( README CHANGELOG )
spec.rdoc_options.concat ['--main', 'README']
Please sign in to comment.
Something went wrong with that request. Please try again.