Dogma/Geek Outlet for my techno babble.

Rails

Bash

Generators - rails g

Add column - rails g migration AddEmailToUsers email:string

Apply DB changes - rake db:migrate (rake db:rollback to rollback)

 

ActiveRecord

Data Types - :primary_key, :string, :text, :integer, :float, :decimal, :datetime, :timestamp, :time, :date, :binary, :boolean, :belongs_to (ref). (ref)

 

SSL

http://www.simonecarletti.com/blog/2011/05/configuring-rails-3-https-ssl/

 

Validation

Helpers - http://guides.rubyonrails.org/active_record_validations_callbacks.html#validation-helpers

Comments (0) Trackbacks (0)

No comments yet.


Leave a comment

(required)

Trackbacks are disabled.

Switch to our mobile site