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

Scopes for ActiveRecord using the configured state_column #32

Merged
merged 2 commits into from Apr 16, 2012

Conversation

Ivor
Copy link
Contributor

@Ivor Ivor commented Apr 16, 2012

The add_scope method was just using "state" as the column. It now uses the state_column configured in the machine.

@ryanza
Copy link
Owner

ryanza commented Apr 16, 2012

Awesome thanks for this! :)

ryanza pushed a commit that referenced this pull request Apr 16, 2012
Scopes for ActiveRecord using the configured state_column
@ryanza ryanza merged commit 0b3b904 into ryanza:master Apr 16, 2012
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

2 participants