Tag: rails

  • Circular dependency detected while autoloading constant

    I ended up with this error because the class name I was referencing was ClassNameXML but I was trying to call it as ClassNameXml. Not following naming conventions combined with not calling a class by its properly capitalized name will trigger this. I burned an hour figuring this out. I hope you don’t have to.

  • rails (4) generate migration behaviors I forget to use

    When I’m generating a migration, I usually don’t go any deeper than specifying column_name:data_type on the command line, and often I only use the command line to generate the file itself. I don’t know that the other options really save all that much typing, but stopping to think about the other options for a few…

  • 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…