search for: sub_titl

Displaying 4 results from an estimated 4 matches for "sub_titl".

Did you mean: sub_title
2006 Mar 28
2
Dealing with Form Data
Google lets me down once again :-) Coming from a PHP background I know I can take submitted form data, mix it, mash it and put it together in very odd ways. In other words do this. $title = "My Title" $sub_title = "My Sub Title" $full_title = $title . "-" . $sub_table And submit $full_title to the database. I have yet to find a solution for this in Rails - I know there is one but being new to all this I am probably just missing it. Basically I want to take form data - mash it tog...
2007 Mar 28
1
Questions on tokenized x untokenized and date sorting
Gents, does this definition will allow me to search inside title, sub_title and url and sort by score, rank_sort, last_updated_at_sort ? acts_as_ferret :fields => { :title => {:boost => 2, :store => :yes}, :sub_title => {:store => :yes}, :url => {:store => :yes},...
2007 Apr 01
9
Important issue with [AAF] and :select
...:acts_as_ferret field definitions you''ll clear the content of those fields on the ferret index. And that may corrupt your index. So, if you have in your model: Class Blog ... acts_as_ferret :fields => { :title => {:boost => 2}, :sub_title => {}, :url => {} } End You''ll have issues if you do this: b = Blog.find(:first, :select => "id, author") b.save If you want to use :select, you must include the fields AAF needs, like this: b = Blog.find(:...
2005 Aug 04
0
Finding rows in table a with zero related rows in table b, part ii
...that SQL through the mysql command-line tool returns exactly the data I''m looking for. However, in my district_controller.rb file, I''ve got this method: def unassigned_list @dist = District.find( params[:dist_id] ) @applicants = @dist.unassigned_applicants.find( :all ) @sub_title = "Unassigned Applicants (" + @applicants.size.to_s + ")" render :template => "district/app_list" end When I go to the page that calls this method, it throws back this error: NoMethodError in District#unassigned_list undefined method `expects_array?''...