search for: mod_typ

Displaying 2 results from an estimated 2 matches for "mod_typ".

Did you mean: mod_type
2007 Jan 31
6
Using hash.keys - why doesn't it display in order created
...isplayed - I want the checkboxes to display like I added them to the hash, but it doesn''t - I can''t figure out how it is displayed, when I change the order of the hash it does little to the view. Please help - thanks, K Code Controller ----------------- # creates my hash def mod_types {''Learning Objects'' => LearnObjResource, ''RSS Feed'' => RssResource, ''Blank Module'' => BlankResource,''Course Librarian'' => LibResource, ''Professor Information'' => InstResource, ''...
2006 Aug 30
7
AAF Sorting by date - what am I doing wrong?
...=> :true) Sorting by id desc is really all I need, so if it''s easier to somehow quickly sort by that, all the better. Here''s my model: class Comment < ActiveRecord::Base acts_as_paranoid acts_as_ferret :fields => [ ''comment'', :forum_id, ''mod_type'', ''user_id'', ''ferret_created_at'' ] [...] def ferret_created_at created_at.strftime("%Y%m%d%H%M") end [...] end Any ideas as to what I''m doing wrong, or how to get this to work? Thanks! Ian. -- Posted via http://www.ru...