[Rails] simple form question

2011-07-07 Thread paulo
Hi folks, I've done this a few ways that have all seemed a bit 'nobby' so was just wondering if there is a recommended way to achieve the following: I have 2 models, 'customers' and 'sites' which are connected with a has_many/belongs_to relationship. I have the scaffold form which creates

Re: [Rails] simple form question

2011-07-07 Thread Noel
it sounds like users can only create sites to their own customer records. This is authorization and can do handled with something like the cancan gem. On Thu, Jul 7, 2011 at 5:36 AM, paulo paul.a.taylo...@gmail.com wrote: Hi folks, I've done this a few ways that have all seemed a bit