search for: threev

Displaying 3 results from an estimated 3 matches for "threev".

Did you mean: three
2005 Jul 06
4
undefined method `stringify_keys!'
I have a Model whose table name and primary key don''t follow Rails conventions. So I have used set_table_name() and set_primary_key() and can do the Record.find() method ok. My problem is that the Record.new(params[:id]) idiom in a controller complains: undefined method `stringify_keys!'' for "REAL_PKEY":String Is there something else I need to do?
2006 Jan 04
2
Problem with multiple collection_select
I am trying to allow the user to select more than one value from a selection list. Here is the code: <%= collection_select(:transition, :complete_tasks, @permissions, :id, :path, "", {:size => "10", :multiple => true} ) %> The multiple HTML option is supposed to allow multiple selections and, in fact, it does, although the HTML generated show the attribute as
2005 Aug 08
68
Pluralized Controller Names?
If I do: script/generate controller Photo I get a controller named photo_controller. OTOH, if I do: script/generate scaffold Photo I get a controller named photos_controller. (Note that the controller name is pluralized). I realize that I''m specifying the controller name explicitly in the first case, but it seems odd to me that the scaffold command generates a pluralized