Skip to content
Menu
Justin Ball
  • About
  • Privacy Policy
Justin Ball

Tag: bugs

ERROR: While executing gem (ArgumentError) Illformed requirement

Posted on October 4, 2008October 25, 2021

I like to use to deploy my applications because of its simplicity. The other nice thing is that they give you free developer space so if you are just getting an application up and running or just need to show it to a client you can do so without having to pay a bunch of…

acts_as_state_machine – state is always nil

Posted on July 26, 2008October 25, 2021

If you are using the acts_as_state_machine plugin to manage the state of your object keep this in mind: If you are going to have an object like an order or something similar that likely has a field state_id to relate in a geographic state then you need to be sure to rename the column that…

Shoulda Doesn’t like ‘Status’

Posted on July 25, 2008November 1, 2021

One of the models in a project I am working on right now ends in ‘status’. Rails handles that just find but in my tests I started noticing an odd error: test: Lookup should belong_to lookup_status. (LookupTest): NameError: uninitialized constant LookupStatu </pre> The Shoulda test looks like this: should_belong_to :lookup_status </pre> Nothing to complicated there….

ActiveSalesforce and Ruby on Rails > 2.1

Posted on July 9, 2008November 1, 2021

We have to do an integration with Saleforce for a Rails project we are working on. I keep getting this error: The :dependent option expects either :destroy or :delete (:nullify) I posted to the Salesforce forums and didn’t get any response so I did some more investigation. Turns out there is a bug and a…

Kill Internet Explorer With CSS

Posted on February 27, 2008November 1, 2021

We got a call today at The Plan Collection that was interesting. A guy was trying to print out one of our pages. Each time he tried his browser would crash. At first I thought, “that is just nuts. Html can’t crash your browser.” Then Jake tried it and it crashed Internet Explorer. Then I…

©2025 Justin Ball | Powered by SuperbThemes & WordPress