Author: Khoa Do Ba Date: Sep 15, 2013 FSE 96-700 Task 3
To run the app, execute the following command from the project’s root folder $ rake db:migrate $ rails server
Then enter the following address to your browser localhost:3000/
The project includes 3 models: Transaction, User, TransactionShare Between those 3 models, Transaction model is linked to User by a foreign key ‘user_id’ TransactionShare is linked to both Transaction and User by ‘transaction_id’ and ‘user_id’.
An example of the use of ajax is when you delete a transaction from the transaction list, the table row will fade out.
I created this project with the help of the following instructions: ruby.railstutorial.org/ guides.railsgirls.com/devise/