Merge pull request #86 from toannguyenle/rails_toan

finished api call to livingroom app
one of the last errors. SQL statement