search for: some_static_stuff

Displaying 1 result from an estimated 1 matches for "some_static_stuff".

2007 Mar 13
13
validates_inclusion_of disabling
..., is there a way? I tried to use if, with a static method of one of my models, but the behaviour is something strange It seems that the static method should be in a string to be evaluated. And the order of the elements in the if is counting... :if => (:some_field && ''MyModel.some_static_stuff'' ) -- 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF...