Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Goodbye old friend

commit 593cac6950da505161718ce866496a73f36bb0e8 1 parent ced54ee
Kenneth Kalmer authored August 14, 2009 xHire committed February 28, 2010
23  README
... ...
@@ -1,8 +1,27 @@
1 1
 ActiveRecord Tableless
2 2
 ----------------------
3 3
 
4  
-A single implementation of the ActiveRecord Tableless pattern for any Rails
5  
-project or other Ruby project that uses ActiveRecord.
  4
+<DEPRECATED_NOTICE>
  5
+
  6
+This library is no longer maintained and not recommended for general use. 
  7
+With Rails 3.0 on the way, and the new ActiveModel::Validations mixin,
  8
+the library becomes worthless.
  9
+
  10
+Until Rails 3.0 is released you might want to consider looking at the excellent
  11
+Validator [1] gem from Jay Fields that provides the same functionality (in
  12
+terms of validations) but doesn't require ActiveRecord at all.
  13
+
  14
+I've updated the gemspec so that this gem will not work with ActiveRecord 3.0
  15
+or later.
  16
+
  17
+1 - http://validatable.rubyforge.org/
  18
+
  19
+This was my first gem ever, so it will be surely missed.
  20
+
  21
+</DEPRECATED_NOTICE>
  22
+
  23
+A single implementation of the ActiveRecord Tableless Model pattern for any
  24
+Rails project or other Ruby project that uses ActiveRecord.
6 25
 
7 26
 Define a model like this:
8 27
 
11  TODO
... ...
@@ -1,11 +0,0 @@
1  
-0.1.x (Make it useful)
2  
-* More documentation, better examples
3  
-* Tests
4  
-* CLI Tools for installing into in existing Rails project
5  
-
6  
-0.2.x (Completely detach all db operations)
7  
-* Mock out #find, #save and others
8  
-
9  
-0.3.x (Transporter series)
10  
-* Use tableless models to easily serialize/deserialize data for portability
11  
-  (not persistance)
6  activerecord-tableless.gemspec
... ...
@@ -1,12 +1,12 @@
1 1
 spec = Gem::Specification.new do |spec|
2 2
   spec.name = 'activerecord-tableless'
3  
-  spec.summary = %q{A library for implementing tableless ActiveRecord models}
  3
+  spec.summary = %q{A DEPRECATED library for implementing tableless ActiveRecord models}
4 4
   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}
5 5
   spec.authors = ["Michal Zima", "Kenneth Kalmer"]
6 6
   spec.email = "xhire@mujmalysvet.cz"
7 7
   spec.files = ["*.rb", "lib/*.rb", "Rakefile", "README", "CHANGELOG"].collect {|f| Dir.glob(f) }.flatten
8  
-  spec.version = "0.1.1"
9  
-  spec.add_dependency("activerecord")
  8
+  spec.version = "1.0.0"
  9
+  spec.add_dependency("activerecord", ">0", "<3.0.0")
10 10
   spec.has_rdoc = true
11 11
   spec.extra_rdoc_files = %w( README CHANGELOG )
12 12
   spec.rdoc_options.concat ['--main',  'README']

0 notes on commit 593cac6

Please sign in to comment.
Something went wrong with that request. Please try again.