Browse files

CRUD limitations on views.

  • Loading branch information...
Elad Meidar
Elad Meidar committed Nov 13, 2009
1 parent c55c4a9 commit ea9a5c964544c2f446c5dd09bda0cb5c741f4d71
Showing with 2 additions and 1 deletion.
  1. +2 −1 README.textile
@@ -12,6 +12,7 @@ as for now this is only available as a plugin, install as follows:
h3. Usage
h2. create a migration
First you'll have to generate a migration
<pre>script/generate migration create_users_and_views</pre>
@@ -46,7 +47,7 @@ you can always name it whatever you want and specify the view name in @set_table
Note that the view model inherits from @ActiveRecord::View@ and not from @ActiveRecord::Base@:
<pre>class ThisIsAView < ActiveRecord::View
- set_table_name 'special_view_name'
+ set_table_name 'special_view_name'
h3. Database support

0 comments on commit ea9a5c9

Please sign in to comment.