search for: acts_as_dropdown

Displaying 9 results from an estimated 9 matches for "acts_as_dropdown".

2006 Aug 14
0
acts_as_dropdown: NoMethodError on load
Rails 1.1.6 on gems I had the acts_as_dropdown plugin working fine, but now starting webrick gives me a: C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1129:in `method_missing'': undefined method `acts_as_dropdown'' for User:Class (NoMethodError) My other plugins are working fine. I h...
2006 Apr 25
3
select boxe
yop, http://rubyonrails.org/api/classes/ActionView/Helpers/FormHelper.html ici j''ai vu qu''on pouvait g?n?rer des ?l?ment d''un formulaire gr?ce des m?thodes. Apres quelque petite recherches j''ai trouv? comment g?n?rer un select <%= select(''category'', ''category.id'', Category.find_all.collect {|category| category.nom})
2006 Nov 04
0
[Markaby] select with acts_as_dropdown problem.
I''m using Markby to convert a standard form witth selects. Can someone tell me why this works: <tr> <td><label class="formLabel" for="task_owner_id">Owner</label></td> <td><%= select ''task'', ''owner_id'', Owner.to_dropdown %></td> </tr> But, the Markaby conversion
2006 Jun 21
0
acts_as_dropdown
Hi I am currently using the acts as drop down to create select lists. Is it possible to use this blogin to create grouped select lists. (ie one list, but with bold headings above groups of names) thanks, scott -- Posted via http://www.ruby-forum.com/.
2006 Apr 28
7
acts as drop down
Hi Im using the acts as drop down plugin and have this code below acts_as_dropdown :text => "forename", :order => "forename" It currently makes use of the forename in the option tag, how can I get it to use the surname as well ie somthing like ''forename'' . ''surname'' in php Thanks -- Posted via http://www.ruby-fo...
2006 Apr 24
4
creating a select box
Hi trying to create a select box in _form.rhtml. I have a table called organisations that contains fileds, 2 being ''id'' and ''name'' these are the fields I need to bring over to the clients _form.rhtml. whats the best way of going about that?? 2 ways i have seen suggested that I cant get to work -@organisations = Organisation.find_all placed this in def new
2006 Apr 26
6
get foreign key table data
Hi I?m trying to bring across all related data. My table clients has a foreign key field that stores the id of an organization How can I grab the details of the organization to use in the clients show.rhtml file? Thanks Scott -- Posted via http://www.ruby-forum.com/.
2006 Jun 18
2
Table Relationship for Select option list
I''m pretty new to developing web apps and need help with my database table design. I''m working on an inventory application to manage WLAN hardware. I''ve created a table to hold information on each device with the following (model refers to the manufacturer''s model number): create table devices ( id int not null auto_increment,
2006 Jun 01
0
OT: Best practice for multi-user select boxes
...than they need to be. I have thought of two ways to do this. I''d appreciate feedback and comments as to which method might be better . 1. Break normalization rules by putting the customer_id in every drop-list table. This would make it easier to create the droplists using the ''acts_as_dropdown'' plugin. 2. Keep the table fully normalized. Use find_by_sql to create the necessary joins to populate the drop-lists for each customer_id. 3. Something else entirely. -- Thanks in advance the use of your grey matter, -Larry "Work, work, work...there is no satisfactory alternati...