Final adjusts for Rails 4.2.0.beta2

Signed off by: Heitor Reis <marcheing@gmail.com>
Fixed alias on database sample

Signed off by: Heitor Reis <marcheing@gmail.com>