[Rails] Re: dynamic select menu

2009-04-09 Thread Shuaib85
Thank you very much. This way worked and saved me lots of efforts On Apr 9, 6:41 am, infinteVerve wrote: > Try this > > I got the same error when going from Rails 2.1.1 to 2.2.2 > > in line 66 of 'vendor/plugins/related_select_forms/lib/ > related_select_form_helper.rb ' > > change: > Actio

[Rails] Re: dynamic select menu

2009-04-08 Thread infinteVerve
Try this I got the same error when going from Rails 2.1.1 to 2.2.2 in line 66 of 'vendor/plugins/related_select_forms/lib/ related_select_form_helper.rb ' change: ActionView::Helpers::InstanceTag.new(object, method, self, nil, options.delete(:object)). to: ActionView::Helpers::InstanceTag.

[Rails] Re: dynamic select menu

2009-04-03 Thread Shuaib85
Hi guys Any one is aware of another plugin other than this one that does the same thing select a country and then display its state this is what we are looking for thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

[Rails] Re: dynamic select menu

2009-04-02 Thread Shuaib85
I solved this error <%= related_collection_select(:street, :id, "city_id", Street.find (:all), :id, :name, :city_id) %> make the third parameter in double quote like city_id however, i face the same problem, the second select menu does not appear ??? On Apr 2, 7:29 pm, Shuaib85 wrote

[Rails] Re: dynamic select menu

2009-04-02 Thread Shuaib85
So far no I changed the line you mentioned i get this error now wrong number of arguments (5 for 4) --- the error fot relared_collection_select line <%= collection_select(:city, :id, City.find(:all, :order => "name"), :id, :name) %> <%= related_collection_select(:street, :id, [

[Rails] Re: dynamic select menu

2009-04-02 Thread infinteVerve
Line 59 in 'vendor/plugins/related_select_forms/lib/ related_select_form_helper.rb ' changed this: result[reference_value] ||= OrderedOptions.new to: result[reference_value] ||= ActiveSupport::OrderedOptions.new I don't get the error anymore, but my 'related_collection_select' box is coming up

[Rails] Re: dynamic select menu

2009-04-02 Thread infinteVerve
Have any luck solving this? I'm having the same problem. On Mar 31, 5:31 am, Shuaib85 wrote: > Hi there > > I have seen railscasts episode 88 about dynamic select menus and I > implemented it. However, it has some bugs,  I managed to tackle some. > > But I saw a better way to do that using rela