An unmaintained authorization plugin for Rails. Please fork to support current versions of Rails
1.24k
stars
230
forks
source link
undefined method `filter_access_to' when deploying to heroku using a local version of the gem #153
Open
bishma-stornelli opened 12 years ago
I'm trying to deploy my application to heroku. It uses a local version of declarative_authorization because I needed to make a change to it.
The only change I did was https://github.com/bishma-stornelli/declarative_authorization/commit/b508c3c008ed4b72e9fe2ec7802bfafbc6c4590b
I needed to force reload of authorization rules because I'm storing permissions in the database.
It works perfect on deployment but I get undefined method `filter_access_to' for ClientsController when deploying to heroku.
These are the important parts of my files:
application_controller.rb
clients_controller.rb
Gemfile
config/enviroment.rb
I've tried to add these gems to (following the installation instructions) but still not working:
What am I missing? I asked this http://stackoverflow.com/questions/12280684/how-to-get-working-a-local-gem-on-heroku but no answer yet. Please help, I need to get it work on heroku really soon.