search for: child_controller

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

2006 May 26
0
Hellp needed with sublist plugin
....2/lib/active_record/callbacks.rb:236:in `initialize'' #{RAILS_ROOT}/vendor/plugins/sublist/sub_list/lib/sub_list_system.rb:44:in `initialize_days'' #{RAILS_ROOT}/vendor/plugins/sublist/sub_list/lib/sub_list_system.rb:41:in `initialize_days'' #{RAILS_ROOT}/app/controllers/child_controller.rb:81:in `update'' -e:3 E:/Programmeren/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1506:in `attributes='' E:/Programmeren/Ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/base.rb:1354:in `initialize_without_callbacks'' E:/Pro...
2006 Jun 04
3
Ajax table does not update
...t; <tr> ... <td><%= link_to ''Days'', :action => ''show_days'', :id => child %></td> </tr> <tr> <div id="show_days" style="display: none"></div> </tr> </table> (child_controller def show_days @child = Child.find(params[:id]) @days = @child.days end (child.chow_days.rjs) page.replace_html ''show_days'', :partial => ''days'', :collection => @days page.visual_effect :toggle_appear, ''show_days'', ''dur...
2006 Jan 05
2
Confused...
Ok, So, I''ve got two data tables associated through a foreign key. class Child < ActiveRecord::Base belongs_to :parent, :class => Parent, :foreign_key => "parent_id" # also has attr1, attr2 end class Parent < ActiveRecord::Base has_many :children, :class => Child, :foreign_key => "parent_id" end So, I''m trying to build the new/edit