Colin, thanks for your response. I have moved a bit further on my original
problem of updating the through table.
I now have in my *controller*:
def new
@style = Style.new
@style.stylefeatures.build
@features = Feature.all
end
def create
@style = Style.new(params[:style])
https://github.com/vishalsingh/multiple_upload_photo check this may be
helpful for you
On Mon, May 21, 2012 at 3:08 PM, Abram funkdif...@gmail.com wrote:
Colin, thanks for your response. I have moved a bit further on my original
problem of updating the through table.
I now have in my
I have a form used to create a 'Style'. The style may have any number of
'features' which correspond to 'Feature' models in the features table. I
would like to add the appropriate entries to a relationship table
('stylefeatures') whenever a Style is created. Here is a breakdown of my
models:
On 20 May 2012 21:01, Abram funkdif...@gmail.com wrote:
I have a form used to create a 'Style'. The style may have any number of
'features' which correspond to 'Feature' models in the features table. I
would like to add the appropriate entries to a relationship table
('stylefeatures') whenever
4 matches
Mail list logo