public
Description: Not scaffolding. Resourcing. Creates extremely customizable resource controllers with one line of code.
Clone URL: git://github.com/jnewland/resource_this.git
whoops

git-svn-id: 
http://jnewland.com/svn/public/ruby/rails/plugins/resource_this@25 
9b6b69f6-dd27-0410-8144-a0f3c56a22ea
jnewland (author)
Sun Sep 16 12:09:27 -0700 2007
commit  c5b9ce44284de8725ea65b2aa507f88471369b33
tree    c2bc27cab4f5b7bb432def19c5d8dfac2853df49
parent  1dcbb4b5204e52845932a4b6bfb2861107c1df5d
...
36
37
38
39
 
40
41
42
...
36
37
38
 
39
40
41
42
0
@@ -36,7 +36,7 @@ module ResourceThis # :nodoc:
0
         end
0
         
0
         def update_#{singular_name}
0
- @#{singular_name} = #{class_name}.update_attributes(params[:#{singular_name}])
0
+ @#{singular_name} = #{singular_name}.update_attributes(params[:#{singular_name}])
0
         end
0
         
0
         def destroy_#{singular_name}

Comments

    No one has commented yet.