search for: scaffold_singular_nam

Displaying 5 results from an estimated 5 matches for "scaffold_singular_nam".

Did you mean: scaffold_singular_name
2006 May 03
0
Newbie Help
...list of restaurants. If I click on edit though I get this: Showing usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/templates/scaffolds/edit.rhtml where line #4 raised: wrong number of arguments (0 for 1) Extracted source (around line #4): 1: <h1>Editing <%= @scaffold_singular_name %></h1> 2: 3: <%= error_messages_for(@scaffold_singular_name) %> 4: <%= form(@scaffold_singular_name, :action => "update#{@scaffold_suffix}") %> 5: 6: <%= link_to "Show", :action => "show#{@scaffold_suffix}", :id => instance_variable...
2006 May 04
9
Help: wrong number of arguments (0 for 1)
...a list of restaurants. If I click on edit though I get this: Showing usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/templates/scaffolds/edit.rhtml where line #4 raised: wrong number of arguments (0 for 1) Extracted source (around line #4): 1: <h1>Editing <%= @scaffold_singular_name %></h1> 2: 3: <%= error_messages_for(@scaffold_singular_name) %> 4: <%= form(@scaffold_singular_name, :action => "update#{@scaffold_suffix}") %> 5: 6: <%= link_to "Show", :action => "show#{@scaffold_suffix}", :id => instance_variable_g...
2006 Feb 16
6
http://127.0.0.1:3000/
Hi, I installed ruby on rail on my windows system. I sucessfully made one database related application. But when i want to execute it, i have to give url like http://127.0.0.1:3000/wedding/ etc. can''t i browse through my browser? 192.168.0.51 is my ip. Another one thing is i never get file named new in my example then also it executes file called new for database inserting ,how it is?
2007 Jan 18
8
How can I find out which attribute is screwing up pluralize/singularize?
...installed, I get errors like this which is from the Scaffolding Extension: ArgumentError in Admin/crud#edit Showing vendor/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...
2006 Dec 28
1
Default Scaffolding Gives Errors
...@scaffold_suffix}", :id => entry.id %></td> <td><%= link_to "Delete", :action => "destroy#{@scaffold_suffix}", :id => entry.id %></td> </tr> <% end %> </table> <br /> <%= link_to "New #{@scaffold_singular_name}", :action => "new#{@scaffold_suffix}" %> [/code] For some reason whenever I click on the the "Show", "Edit", or "Destroy" links, I get a "Couldn''t find Post without an ID" error. THat seems odd because I have the entry.id righ...