Something like this:
class Category
SOME_CATEGORY = find_by_name(\"some category\")
end
Category::SOME_CATEGORY tried wi
What do you want to do?
Maybe:
class Category def self.some_category Category.find_by_name("some category") end end
So you can call:
Category.some_category =>