Displaying 2 results from an estimated 2 matches for "labouri".
Did you mean:
labour
2006 Jan 12
2
Easy to Access Telephone Directory AGI
...interrest
to others.
The purpose of this agi script is to provide an online
telephone directory that can be easily accessed using
the numbers on the phone dial pad.
You select entries by spelling out the name of the
person you want to contact using the phone dial pad.
Now this is normally pretty labourious so the script
provides a few shortcuts to make things easier.
The best way to illustrate this is by example:
Say you want to phone John Smith:
- You would start by typing 5, this would find all
entries that start with j,k or l.
- Next you would type 6 which would narrow down the
selection to al...
2005 Oct 26
1
acts_as_tree parent id problem
...nding the appropriate category
and using that.
I''m using the scaffolding at the moment, so the code looks like:
@category = Category.new(params[:category])
I know that there must be a way of easily assigning all the values in
the params hash, and looking up the correct parent, without labouriously
assigning each value manually ie
@category.name = params[:category][:name]
...
@category.parent = Category.find(params[:category][:parent]
...
...
So any ideas?
Kev