Displaying 6 results from an estimated 6 matches for "scaffold_suffix".
2006 May 04
9
Help: wrong number of arguments (0 for 1)
...tml
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_get("@#{@scaffold_singular_name}") %> |
7: <%= link_to "Back", :action => "list#{@scaffold_suffix}" %>
Likewise if I click o...
2006 May 03
0
Newbie Help
...l
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_get("@#{@scaffold_singular_name}") %> |
7: <%= link_to "Back", :action => "list#{@scaffold_suffix}" %>
Likewise if I click...
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?
2006 Dec 28
1
Default Scaffolding Gives Errors
...ntry in instance_variable_get("@#{@scaffold_plural_name}") %>
<tr>
<% for column in @scaffold_class.content_columns %>
<td><%= entry.send(column.name) %></td>
<% end %>
<td><%= link_to "Show", :action => "show#{@scaffold_suffix}", :id
=> entry.id %></td>
<td><%= link_to "Edit", :action => "edit#{@scaffold_suffix}", :id
=> entry.id %></td>
<td><%= link_to "Delete", :action => "destroy#{@scaffold_suffix}",
:id => entr...
2006 Aug 13
5
Newbie question: scaffold not working
...le_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", :action => "edit#{@scaffold_suffix}",
:id => entry %></td>
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
c:/dev/ruby/lib/ruby/gems/1.8/gems/a...
2006 May 06
0
RE: Rails Digest, Vol 20, Issue 156
...ist of Reserved Words is findable here:
> > http://wiki.rubyonrails.com/rails/pages/ReservedWords
> >
> > On 5/4/06, Donald Brady <dbrady010@mac.com> wrote:
> >> class RestaurantController < ApplicationController
> >> Showing
> >> "update#{@scaffold_suffix}") %>
> >> usr/local/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_controller/templates/scaffolds/new.rhtml
> >> 5:
> >> `email` VARCHAR(100) DEFAULT '''',
> >> CHARACTER SET utf8;
> >> http://lists.rubyonrails.org/mailman...