search for: authorized_ord

Displaying 1 result from an estimated 1 matches for "authorized_ord".

2006 Jul 15
2
Render -> ActionController -> Render -> ...
...ter by data that is from a web form, from ajax, or from session variables. ActiveRecord makes it easy enough to do so with data in the record such as: has_many :phylums, :finder_sql => "blah blah blah where kingdom_id = #{id} " But it can''t do something like has_many :authorized_orders, :conditions => "order_owned_by = session[:current_user]" I tried to get around this by thinking of: render :partial => "call another action" But render to my knowledge can''t really go calling another ActionController to render more data. So I''...