Add Rails support
Support ActiveModel API