Stylistically, you may want to change a few things:
redirect_to(edit_configuration_path @c)
I don't think precedence will matter there but I think most Rubyists
prefer it this way.
redirect_to(edit_configuration_path(@c))
Another:
@configuration = Factory.create :configuration, :status =>
'LIVE'
You can shorten that up with:
@configuration = Factory(:configuration, :status =>
'LIVE')
> --
> Individuals over processes. Interactions over tools.
>
> Agile Rails training from thoughtbot, the makers of Clearance, Shoulda, & Factory Girl:
> http://thoughtbot.com/services/training
>
> The Shoulda group:
> http://groups.google.com/group/shoulda
>
> To post to this group, send email to
> sho...@googlegroups.com
>
> To unsubscribe from this group, send email to
> shoulda+u...@googlegroups.com
>