Displaying 1 result from an estimated 1 matches for "order_owned_by".
2006 Jul 15
2
Render -> ActionController -> Render -> ...
...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''m kind of stuck... there''s no eas...