Displaying 2 results from an estimated 2 matches for "home_categori".
Did you mean:
home_categories
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 = Category.home_categories (:portal_id)
but this works
@...
2006 Jan 24
14
engines
This page:
http://www.rails-engines.org/download
makes it sound like SVN is optional for using engines, but when I try to run the second
command ("ruby script/plugin install engines"), I get the NoMethodError on nil as
described in the second issue reported here:
http://www.rails-engines.org/wiki/pages/Engines+plugin%3A+Known+Issues
So, which is it? Do I have to have SVN installed