search for: 81c4a271

Displaying 1 result from an estimated 1 matches for "81c4a271".

2006 Jan 26
3
Using variables within a string - The function doesn''t pass the value?
Hello everyone, As a beginner to ROR, I am very confused regarding why the following is happening. If my function is defined as def self.home_categories (portal_id) find(:all, :conditions => [ "portal_id=?", portal_id ] ) end the following doesn''t works (the database is queried with a value of 0. portal_id=1 @categories =