[Rails] Insert data into multiple tables

2015-08-21 Thread Milley Duke
Hi, Is there any way to insert data when form is saved into another table. Say for example: I have membership table which already contains some data and have column names as 'no_of_users_added', 'no_of_users_left'. I want to insert data from user table based on the count value how many users

Re: [Rails] Insert data into multiple tables

2015-08-21 Thread Colin Law
On 21 August 2015 at 11:46, Milley Duke li...@ruby-forum.com wrote: Hi, Is there any way to insert data when form is saved into another table. Say for example: I have membership table which already contains some data and have column names as 'no_of_users_added', 'no_of_users_left'. I