method

define

Importance_0
define() public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File activerecord/lib/active_record/dynamic_matchers.rb, line 63
        def define
          model.class_eval             def self.#{name}(#{signature})              #{body}            end, __FILE__, __LINE__ + 1
        end
Register or log in to add new notes.