26 Sep '13, 12pm

How did I not know about the content_for and div_for helpers in #rails? Assign class / id to active record object

You can also pass an array of objects which this method will loop through and yield the current object to the supplied block, reducing the need for having to iterate through the object (using each ) beforehand. For example (assuming @people is an array of Person objects):

Full article: http://api.rubyonrails.org/classes/ActionView/Helpers/Rec...

Tweets

ほんとだ、ちゃんと reset_column_information について書いてあった >...

guides.rubyonrails.org 26 Sep '13, 9am

You can think of each migration as being a new 'version' of the database. A schema starts off with nothing in it, and each...

server side #rails validations

guides.rubyonrails.org 26 Sep '13, 11am

Database constraints and/or stored procedures make the validation mechanisms database-dependent and can make testing and m...

@dngoo Hmm. You could use a custom constraint o...

guides.rubyonrails.org 26 Sep '13, 3am

Active Record Basics Rails Database Migrations Active Record Validations Active Record Callbacks Active Record Association...

Nike LeBron 11 iD Options & Availability Info

Nike LeBron 11 iD Options & Availability Info

nicekicks.com 25 Sep '13, 4pm

King James has a new shoe on the way that you may have heard of. The Nike LeBron 11 stands as one of the most anticipated ...

Dutch wind project sets crowdfunding record. Cm...

renewableenergyworld.com 25 Sep '13, 6am

LONDON -- Raising €1.3 million in just thirteen hours, 1700 Dutch households that came together to buy shares in a wind tu...

Dutch Wind Turbine Purchase Sets World Crowdfun...

renewableenergyworld.com 24 Sep '13, 2pm

LONDON -- Raising €1.3 million in just thirteen hours, 1700 Dutch households that came together to buy shares in a wind tu...

Dutch Wind Turbine Purchase Sets World Crowdfun...

renewableenergyworld.com 24 Sep '13, 12pm

LONDON -- Raising €1.3 million in just thirteen hours, 1700 Dutch households that came together to buy shares in a wind tu...

懐かしい - Riding Rails: Merb gets merged into Rail...

weblog.rubyonrails.org 20 Sep '13, 6am

Merb gets merged into Rails 3! Posted by David , December 23, 2008 @ 11:47 am It’s christmas, baby, and do we have a prese...

Is Your PPC Campaign Passive or Active? ☛ #PPC

Is Your PPC Campaign Passive or Active? ☛ #PPC

wordtracker.com 22 Sep '13, 9am

Is Your PPC Campaign Passive or Active? Posted by Karon Thackston on 28 February 2013 Have you ever considered what frame ...

rails はなんでもあるなぁ。

rails はなんでもあるなぁ。

oiax.jp 24 Sep '13, 2pm

% rake routes root / {:controller=>"welcome", :action=>"index"} new_user_session GET /users/sign_in {:controller=>"devise/...

Nike previews the customization options for the upcoming LeBron 11 iD. What will you create? http…

Nike previews the customization options for the...

solecollector.com 26 Sep '13, 3am

11 iD's customization options include 17 different overlay colors, NIKEiD exclusive chroma color shift materials, three ou...

Wilson Kipsang chases world marathon record in ...

runnersworld.com 27 Sep '13, 6pm

Since 2003, the men’s world marathon record has been broken four times -- by Paul Tergat, twice by Haile Gebrsleassie, and...

@mperham If you're using Active Support, it's a...

api.rubyonrails.org 03 Oct '13, 7pm

A duck-type assistant method. For example, Active Support extends Date to define an acts_like_date? method, and extends Ti...

Wilson Kipsang will chase the marathon world re...

runnersworld.com 27 Sep '13, 6pm

Since 2003, the men’s world marathon record has been broken four times -- by Paul Tergat, twice by Haile Gebrsleassie, and...

Got to use ActionView's `cycle` helper for the ...

api.rubyonrails.org 25 Sep '13, 7am

Creates a Cycle object whose to_s method cycles through elements of an array every time it is called. This can be used for...