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 try use this code below in my controller
around_filter(:only => [:create,:update]) { |c,a| ActiveRecord::Base.connection_proxy.with_master { a.call } }
and receive this error: NoMethodError (undefined method `conection_proxy' for ActiveRecord::Base:Class):
I need change conection of 2 actions in my controller for read just at master. How I do?
The text was updated successfully, but these errors were encountered:
Which rails version do you use? It works fine with rails 3.0.+ but break with rails 3.1.+
Sorry, something went wrong.
No branches or pull requests
I try use this code below in my controller
around_filter(:only => [:create,:update]) { |c,a| ActiveRecord::Base.connection_proxy.with_master { a.call } }
and receive this error:
NoMethodError (undefined method `conection_proxy' for ActiveRecord::Base:Class):
I need change conection of 2 actions in my controller for read just at master. How I do?
The text was updated successfully, but these errors were encountered: