README.rdoc in active_finite-0.1.4 vs README.rdoc in active_finite-0.1.5
- old
+ new
@@ -22,19 +22,19 @@
delete_finites in_table: :hellos, values: ['oy', 'que tal', 'hi']
end
end
Now that we some hellos in our Hello model, we can access them using:
- hellos = get_finite_table :hellos
+ hellos = get_table :hellos
The variable hellos now holds a class derived from ActiveRecord named
Hello, so all of the normal ActiveRecord methods can be used.
We can also a collection of all of the active record classes defined by
active_finite by using:
all_finite_tables
-Using get_finite_table and all_finite_tables implicitly bring the associated
+Using get_table and all_finite_tables implicitly bring the associated
classes into scope, so a single call to all_finite_tables is sufficent to
define all of the models.
== Other options
If the column name must be different than the default, the column_name option can be used. Also, a json