31 Mar '13, 8am

Is it just me, or is "14" an unreasonably large number of ways to render the same template?

method does the heavy lifting of rendering your application’s content for use by a browser. There are a variety of ways to customize the behaviour of render . You can render the default view for a Rails template, or a specific template, or a file, or inline code, or nothing at all. You can render text, JSON , or XML . You can specify the content type or HTTP status of the rendered response as well.

Full article: http://guides.rubyonrails.org/layouts_and_rendering.html#...

Tweets

Rails date method distance_of_time_in_words

api.rubyonrails.org 31 Mar '13, 2pm

:use_month_numbers - Set to true if you want to use month numbers rather than month names (e.g. "2" instead of "February")...

@mdesjardins That method comes from rails, not ...

api.rubyonrails.org 05 Apr '13, 5pm

Performs a GET request with the given parameters. path : The URI (as a String ) on which you want to perform a GET request...

@DanielZarick @rbates does.

railscasts.com 03 Apr '13, 3pm

In this first part of a two part series you will learn basic Backbone concepts including models, collections, routers, vie...

Compressing large data sets in Redis - Ruby tes...

rubyflow.com 31 Mar '13, 11pm

Compressing large data sets in Redis - Ruby test case Posted by mencio on March 31, 2013 — 0 comments A just wrote a post ...

Large Size Womens Shoes and Boots in Size 11, S...

barefoottess.com 29 Mar '13, 7pm

JavaScript seems to be disabled in your browser. You must have JavaScript enabled in your browser to utilize the functiona...

As of a year ago, there are about 28,500 US troops stationed in South Korea.

As of a year ago, there are about 28,500 US tro...

stripes.com 30 Mar '13, 12am

Related PACOM nominee backs US troop consolidation in South Korea Ambassador Sung Kim Courtesy U.S. State Department SEOUL...

Studies show that bike commuting is one of the ...

grist.org 31 Mar '13, 12pm

It’s always a pleasure when scientific studies confirm your own long-held opinions, especially when what you think flies i...

A quick reference for Rails datatypes

guides.rubyonrails.org 31 Mar '13, 2am

Internally Rails only uses the migration’s number (the timestamp) to identify them. Prior to Rails 2.1 the migration numbe...

#Rails is beautiful. Easy and elegant solution ...

railscasts.com 31 Mar '13, 4pm

It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode.