Thank you very much. This way worked and saved me lots of efforts

On Apr 9, 6:41 am, infinteVerve <[email protected]> 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:
> ActionView::Helpers::InstanceTag.new(object, method, self, nil,
> options.delete(:object)).
>
> to:
> ActionView::Helpers::InstanceTag.new(object, method, self,
> options.delete(:object)).
>
> then:
> <%= related_collection_select(:street, :id, [:city, :id], Street.find
> (:all), :id, :name, :city_id) %>
>
> that work?
>
> On Apr 3, 3:18 am, Shuaib85 <[email protected]> wrote:
>
> > 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 Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to