Monday 11 January 2010

Didn't know this one

pages = Page.find_all_by_job_id(18511).collect(&:page_name_or_no)

gives me an array with just that field. Sweet.

No comments:

Post a Comment