search for: ibwold

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

Did you mean: bold
2006 May 03
5
Multiple Scaffolds
I''d like to create scaffolds for each of the tables in my database, but would like to access them below the path: localhost:3000/admin For example localhost:3000/admin/table1 localhost:3000/admin/table2 Where table1 and table2 would be the controller names respectively, calling their own list.rhtml, show.rhtml, edit.rhtml, etc.. Any recommendations on how/where to
2006 Jun 07
1
delete app
Say I run: rails appname #generates the Rails App "appname" And it creates the entire folder structure. Is there a command to delete the entire app? -- Posted via http://www.ruby-forum.com/.
2006 May 02
1
Accessing Parameters - Params (nil)
I''m trying to render a component that pulls information based on a parameter that is passed by a link_to item, but my params object is nil for the following code in the controller: records = ControllerName.find(params[:id]) but the error page also has this: Parameters: {"id"=>"7"} I''ve tried to access it (in the controller) using: variable =
2006 Apr 27
3
collection_select to display 2 fields
I''m trying to get a collection_select generated Drop-down box to display two fields from a table (first name & last name); however, I am having trouble concatenating the symbols. It appears as though any code I put in the 5th argument for collection_select is processed prior to executing the collection_select method. The code executes successfully with 1 symbol in the 5th
2006 Apr 27
2
"for column in..." not picking up _id columns
My code executes fully: <% for column in ModelName.content_columns %> <th><%= column.human_name %></th> <% end %> but it does not pick up any columns in my model''s table that end in "_id". Is this by design? Is there a helper method that will reference the related tables? Or will I need to code the column titles and detail records by