We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I think the :only and :except options on import_filters should behave like the ones on Rails' before_filter and friends. In particular:
:only
:except
import_filters
before_filter
You should be able to pass both :only and :except.
import_filters Interaction, only: [:a, :b], except: [:b] # => Imports :a from Interaction.
You should be able to pass a single symbol.
import_filters Interaction, only: :a # => Imports :a from Interaction.
I changed how it behaved in a25f3c3, but I'm not sure if that was the right decision.
The text was updated successfully, but these errors were encountered:
Re #114; allow both :only and :except
cfdbfbd
Re #114; accept symbols as well as arrays
c989ddd
Merge pull request #118 from orgsync/import-filters
792b736
Fix #114; make import_filters behave like before_filter
tfausak
No branches or pull requests
I think the
:only
and:except
options onimport_filters
should behave like the ones on Rails'before_filter
and friends. In particular:You should be able to pass both
:only
and:except
.You should be able to pass a single symbol.
I changed how it behaved in a25f3c3, but I'm not sure if that was the right decision.
The text was updated successfully, but these errors were encountered: