• Kontroler udostępnia widokowi tylko zmienne obiektu (instance variable, poprzedzony symbolem @).
  • Jeśli chcemy udostępnić coś wszystkim kontrolerom, umieszczamy to w ApplicationController (app/controllers/application_controller.rb).
  • t.timestamps, is a special command that creates two magic columns called created_at and updated_at.
  • User.create! (read “create bang”) works just like the create method except that it raises an ActiveRecord::Record-Invalid exception if the creation fails.
  • Jeśli zmieniamy domyślny język aplikacji, trzeba pamiętać o polach date_select: http://i18n.lighthouseapp.com/projects/14947/tickets/12
  • Rake
  • Rails 3 Way
  • Rails Console
  • Rails Standard Generators
  • MiniTest
  • Czyszczenie loga
  • ActiveRecord Magic