Re: [Rails] Storing Postgres data in a variable

2013-04-01 Thread Julian Leviston
Are you averse to using ORMs? They tend to make things *so* much easier when dealing with RDBMS databases. Julian On 01/04/2013, at 3:31 PM, Jason Hsu, Android developer jhsu802...@gmail.com wrote: I'm learning how to work with Postgres databases. I've figured out how to get the script at

[Rails] Storing Postgres data in a variable

2013-03-31 Thread Jason Hsu, Android developer
I'm learning how to work with Postgres databases. I've figured out how to get the script at http://marcclifton.wordpress.com/2012/11/12/an-example-of-using-postgresql-with-ruby/ to run properly. I learned from this script how to enter data into a database table (addUser function) and how to