search for: j15c_directory_id

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

2008 Jun 24
10
Question on passing arguments inside a view.
...ditorial the other fp_directory Editorial Model def self.date_range(from,to) find(:all, :conditions => {:expiration_date => from..to }, :order => ''expiration_date DESC'') end Directory Model def self.full_path(directoryid) find(:all, :conditions => { :j15c_directory_id => "#{directory_id}" }) end I have a view that displays my form and submits output to display controller all works until I add in one more piece. Editorial Controller def display @get_path = Directory.full_path(directory_id) end Now my results are working fine until I add in th...