search for: focus_id

Displaying 5 results from an estimated 5 matches for "focus_id".

2006 Feb 21
7
Validation issues
...hich seems weird because I am not validating against that): You have a nil object when you didn''t expect it! You might have expected an instance of Array. The error occured while evaluating nil.each Extracted source (around line #18): 15: <p><label for="resource_focus_id">Focus</label><br/> 16: <select name="resource[focus_id]" id="resource_focus_id"> 17: <option value="" selected="selected"></option> 18: <% for @focus in @focuses %> 19: <option value=&quo...
2006 Mar 02
0
Help with this comparison and loop
I am sending this information: <%= observe_field "resource_focus_id", :frequency => 0.25, :url => { :action => :add_sub_focus}, :with => "''focus_id=''+ value + ''&sf_id=#{@resource.sub_focus_id}''", :update => "resource_sub_focus_id" %> Which...
2006 Feb 21
4
Error, got String?
...resource[focus]. My focus (belongs_to :resources) table has a one-to-many relationship with the resources (has_one :focus) table (A resource will have only one focus but one focus will have many resources). I assume this error means that the focus is looking for a string (I am sending an integer, focus_id). What do I do? Thanks. Seth Buntin -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060221/16a61887/attachment.html
2006 Feb 13
0
(no subject)
Here is my db setup: focus id name sub_focus id focus_id name I have a select menu for focus and want to fill another select menu for sub_focus (with AJAX) depending on what the focus is can someone point me in the right direction? Thanks. Seth Buntin -------------- next part -------------- An HTML attachment was scrubbed... URL...
2006 Feb 13
0
(no subject)
...ails.org [mailto:rails-bounces@lists.rubyonrails.org] On Behalf Of Buntin, Seth - KATE Sent: Monday, February 13, 2006 3:57 PM To: rails@lists.rubyonrails.org Subject: [Rails] (no subject) Here is my db setup: focus id name sub_focus id focus_id name I have a select menu for focus and want to fill another select menu for sub_focus (with AJAX) depending on what the focus is can someone point me in the right direction? Thanks. Seth Buntin -------------- next part -------------- An HTML attachment was scrubbed... URL...