This tutorial is about setting up environment for RubyOnRails on Ubuntu 14.04. First of all, update & upgrade your system:

wiki

Assume your database.yml file looks like this: {: .yaml} development: adapter: postgresql host: localhost encoding: unicode database: proj_development

Add repository and install Postgresql: ^ sudo sh -c "echo 'deb http://apt.postgresql.org/pub/repos/apt/ precise-pgdg main' > /etc/apt/sources.list.d/pgdg.list" ^ wget --quiet -O...

Best results in other decks

When you want to filter records in a model where a string column roughly matches a given term, you can...

Why Rails has multiple schema formats When you run migrations, Rails will write your current database schema into db/schema.rb. This...

Search in all decks