Displaying 2 results from an estimated 2 matches for "mod_types".
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, ''Co...
2006 Aug 30
7
AAF Sorting by date - what am I doing wrong?
I''m trying to sort my search results by Date, in descending order. I''ve
done quite a bit of reading through the forums here, and I''ve tried two
different suggestions.
This just returns results in the same order as a search without a sort:
sort_fields = []
sort_fields <<
Ferret::Search::SortField.new("ferret_created_at",:reverse => :true)