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

Better AMS Model attributes interface #1982

Merged
merged 1 commit into from Nov 21, 2016

Conversation

bf4
Copy link
Member

@bf4 bf4 commented Nov 21, 2016

First step for #1903

@mention-bot
Copy link

@bf4, thanks for your PR! By analyzing the history of the files in this pull request, we identified @mateomurphy, @NullVoxPopuli and @ggordon to be potential reviewers.

@bf4 bf4 force-pushed the better_ams_model_interface branch 2 times, most recently from 438dbed to e4af564 Compare November 21, 2016 06:46
# # in Rails 5
# def respond_to_missing?(method_name, _include_private = false)
# attributes.key?(method_name.to_s.tr('=', '').to_sym) || super
# end
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reminder to ✂️

@NullVoxPopuli
Copy link
Contributor

I really like the explicitness this enforces throughout tests.

@bf4 bf4 force-pushed the better_ams_model_interface branch from 6e5f355 to 772b799 Compare November 21, 2016 15:14
@bf4
Copy link
Member Author

bf4 commented Nov 21, 2016

I'm removing e4af564 and 6e5f355 into follow up PRs to simplify the needs of this PR

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

Successfully merging this pull request may close these issues.

None yet

3 participants