search for: some_other_id

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

2006 Mar 18
9
RJS - not working in IE
...place_editor to support evalScripts I have just started using RJS, and I have two .rjs templates. They are quite simple, each template has two page.replace_html statements, which look like: page.replace_html "some_id", :partial => "some_partial" page.replace_html "some_other_id", :partial => "some_other_partial" These rjs templates work fine in Safari on Mac, Firefox on Mac, Firefox on Windows. But they fail to work on Internet Explorer on Windows. They fail in exactly the same way. The first page.replace_html statement works, but the second st...
2006 Apr 01
7
Any way around AssociationTypeMismatch?
I want to have popup menus and check boxes in my forms to let users select associated objects. In the form I''m working on, the object "belongs_to" another type of object which is selected from a popup menu. The id of the chosen object(s) for association is passed back in the parameter hash, but when rails creates a new object from this parameter hash, I get a
2006 Jun 26
3
syntax for observe_field( :with =>
Greetings! What is up with the syntax of this thing? I mean, if the only thing I can send back using :with is the field being observed, then why in the world is the syntax so convoluted? For example, what I''ve been able to get working is: <%= text_field_tag(''date'', illness_date, :size => 30) %></p> <%= observe_field(''date'', :url