1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/models/electron.rb
Rafael Mendonça França d9e5553516 Revert "Merge pull request #20080 from robertjlooby/fix_overwriting_by_dynamic_finders"
This reverts commit d5ba9a42a6, reversing
changes made to 30c503395b.

Reason: This generate the dynalic finders more than one time
2015-09-09 06:08:57 -03:00

5 lines
94 B
Ruby

class Electron < ActiveRecord::Base
belongs_to :molecule
validates_presence_of :name
end