好用工具集

http://sql.marsz.tw/ ←讓你畫Database關連

https://sunilsharma3639.wordpress.com/2014/01/18/draw-architectural-design-of-the-project-using-railroady-gem/ ←幫你畫Database關連

https://coolors.co/browser ←網站配色

http://kenwheeler.github.io/slick/ ←Slides

http://www.appelsiini.net/projects/lazyload ← Lazy Load

All methods

create_table :table do |t|

t.column # adds an ordinary column. Ex: t.column(:name, :string)
t.index # adds a new index.
t.timestamps
t.change # changes the column definition. Ex: t.change(:name, :string, :limit => 80)
t.change_default # changes the column default value.
t.rename # changes the name of the column.
t.references
t.belongs_to
t.string
t.text
t.integer
t.float
t.decimal
t.datetime
t.timestamp
t.time
t.date
t.binary
t.boolean
t.remove
t.remove_references
t.remove_belongs_to
t.remove_index
t.remove_timestamps
end

.try(:updated_at).try(:to_s, :short) ←用了try給時間又要把它弄短!

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.