HTML5 Canvas
Written by: Simon Sarris
Featured Refcardz: Top Refcardz:
  1. Apache Hadoop
  2. Web Driver
  3. MVVM
  4. REST
  5. ADO.NET
  1. HTML5
  2. Ajax
  3. jQuery Selectors
  4. CSS Part 1
  5. Git

Link Details

Link 371043 thumbnail
User 380777 avatar

By mpapis
via niczsoft.com
Published: Feb 26 2010 / 12:40

I have seen a lot of migrations, most of them was just doing what it had to do. But I found a nice way to make my migrations more pretty. So I had an Article model, which had field :published of type :boolean , as comparing to other solutions, I found that it should be rather :publish_date of type date. First I have created migration using “script/generate migration article_update” and got empty migration:
  • 5
  • 0
  • 1940
  • 0

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (5)



Voters Against This Link (0)