search for: plural_name

Displaying 2 results from an estimated 2 matches for "plural_name".

2006 Feb 03
1
modifying scaffold method
...tion_controller/scaffolding.rb (revision 125) +++ vendor/rails/actionpack/lib/action_controller/scaffolding.rb (working copy) @@ -99,7 +99,7 @@ module_eval <<-"end_eval", __FILE__, __LINE__ def list#{suffix} - @#{singular_name}_pages, @#{plural_name} = paginate :#{plural_name}, :per_page => 10 + @#{plural_name} = #{class_name}.find(:all) render#{suffix}_scaffold "list#{suffix}" end @@ -109,8 +109,12 @@ end def destroy#{suffix} - #{class_name}.find(params[:id]).d...
2006 Feb 25
31
Ajax Scaffold Generator for Rails Released
I just released a whole new version of the Ajax Scaffold Generator (for Ruby on Rails). The generator creates a scaffold page like the typical rails one, except adding, editing and deleting are all done inline. The generated scaffold is valid XHTML strict and fully styled right out of the box. Check out the demo: http://ajaxscaffold.height1percent.com/ And the how-to: