-
Filter chain halted as :find_page rendered or redirected in refinerycms
I ended up coming across this issue in Refinery CMS after switching databases. I had forgotten that I had swapped out databases because I had moved on to changing some other configuration bits in following the RailsCast for Refinery CMS. Fortunately, I found note on Refinery’s Getting Started page that deals with this: If you…
-
rails generate paperclip_database:migration getting protected method `migration_file_name’ error
Quick fix (put this in application.rb or similar in order to run the rails generate paperclip_databasee:migration command): module PaperclipDatabase module Generators class MigrationGenerator public :migration_file_name end end end There are two errors causing this error, one in paperclip and one in paperclip_database. Not sure what changes to Rails 4 caused this, but the issue is…
-
Bundler gave the error “Could not find {some gem} in any of the sources”, processing Gemfile in wrong directory
Problem I was persistently getting the error: Bundler gave the error “Could not find json-1.8.1 in any of the sources” while processing “/Users/tpowell/projects/some_other_project/Gemfile”. Perhaps you forgot to run “bundle install”? While trying to fix a bug in paperclip_database that was similar to Paperclip Gerenator – No Method Error in paperclip I eventually found an issue…
