search for: scaffold_class

Displaying 4 results from an estimated 4 matches for "scaffold_class".

2006 Aug 13
5
Newbie question: scaffold not working
...npack-1.12.5/lib/action_controller/templates/scaffolds/list.rhtml where line #13 raised: wrong number of arguments (0 for 1) Extracted source (around line #13): 10: <% for entry in instance_variable_get("@#{@scaffold_plural_name}") %> 11: <tr> 12: <% for column in @scaffold_class.content_columns %> 13: <td><%= entry.send(column.name) %></td> 14: <% end %> 15: <td><%= link_to "Show", :action => "show#{@scaffold_suffix}", :id => entry %></td> 16: <td><%= link_to "Edit", :a...
2006 Jun 06
0
Scaffolding Extension - Polimorphic Associations
...onst_missing'' (eval):1:in `compute_type'' -e:3 In show action: activesupport-1.3.1/lib/active_support/dependencies.rb:100:in `const_missing'': uninitialized constant Privable Extracted source (around line #6): 3: <table id="scaffolded" class="<%= @scaffold_class.scaffold_table_class :show %>"> 4: <thead><tr><th>Attribute</th><th>Value</th></tr></thead> 5: <tbody> 6: <% @scaffold_class.scaffold_fields.each do |column| %> 7: <tr> 8: <td><%= column.humanize %></t...
2006 Dec 28
1
Default Scaffolding Gives Errors
This is the default scaffolding for list.rhtml: [code] <h1>Listing <%= @scaffold_plural_name %></h1> <table> <tr> <% for column in @scaffold_class.content_columns %> <th><%= column.human_name %></th> <% end %> </tr> <% for entry in instance_variable_get("@#{@scaffold_plural_name}") %> <tr> <% for column in @scaffold_class.content_columns %> <td><%= entry.send(column...
2007 Jan 18
8
How can I find out which attribute is screwing up pluralize/singularize?
...plugins/scaffolding_extensions/scaffolds/edit.rhtml where line #3 raised: wrong number of arguments (0 for 1) Extracted source (around line #3): 1: <h1>Editing <%= @scaffold_singular_name.humanize.downcase %></h1> 2: 3: <%= scaffold_form(''update'', :fields=>@scaffold_class.scaffold_edit_fields) %> 4: 5: <%= association_links %> 6: RAILS_ROOT: /home/daniel/Documents/Projects/Eclipse/polybook/config/.. Thing is, this is great info: so, there''s a wrong number of arguments, great! But for which method, and what kind of argument did it expect? What was...