Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ActiveModel::Model, a mixin to make plain Ruby objects work with AP out of box #5253

Merged
merged 1 commit into from Mar 3, 2012

Conversation

guilleiguaran
Copy link
Member

Usage example:

class Person
  include ActiveModel::Model
end

jeremy added a commit that referenced this pull request Mar 3, 2012
Add ActiveModel::Model, a mixin to make plain Ruby objects work with AP out of box
@jeremy jeremy merged commit eafa58b into rails:master Mar 3, 2012
@nertzy
Copy link
Contributor

nertzy commented Mar 4, 2012

Thanks! I've been using the Informal gem to do something similar in Rails 3.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants