hi, new to ruby/rails (where have i been)

trying to add a basic static method to a model class... anything besides
the normal:

def self.method_name(method_args)
  if method_args == "foo"
    result = true
  else
    result = false
  end
  result
end

which i should know?  do i have to do something to have rails recognise
the addition of a class method like restart the server (which i have
tried to no avail).

sorry for such a basic question.  i am trying to let go of php.

tom.
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to