serened/Yet-Another-Monitoring-Program — pull request #2 by ryansobol (2013-05-11 22:37:18+00:00)
Title: No more sad panda, okay?

Sorry for the delayed response. :sweat:

The first problem was fixing the params `Hash`. Remember, a `CamelCase` class name is converted to a `snake_case` params' key.

The second problem was fixing the following mass-assignment exception.

![screen shot 2013-05-11 at 3 31 32 pm](https://f.cloud.github.com/assets/5688/492202/8e392e2c-ba8a-11e2-8d8c-d07c86c35295.png)

Once I added `:BaseMonitor_attributes` to `attr_accessible`, the form started working. :smile:

BTW - I've never seen associations defined in `CamelCase` before. Usually, it's done in `snake_case`. I'm not sure why, but it probably has something to do with keeping your head straight when working with the params `Hash`.

Learn something new everyday, right?