05 Mar '12, 12pm

Super excited about , which just landed on Rails master. (via @josevalim)

Resourceful Routing: If you’re building a RESTful JSON API , you want to be using the Rails router. Clean and conventional mapping from HTTP to controllers means not having to spend time thinking about how to model your API in terms of HTTP . URL Generation: The flip side of routing is URL generation. A good API based on HTTP includes URLs (see the GitHub gist API for an example). Header and Redirection Responses: head :no_content and redirect_to user_url(current_user) come in handy. Sure, you could manually add the response headers, but why? Content Negotiation: The Rails respond_to and respond_with features automatically figure out which MIME type to serve, based on the request’s Accept header and available types. If you ever need to add support for types other than JSON (XML , CSV , or some proprietary format), this will come in handy. Caching: Rails provides page, acti...

Full article: http://edgeguides.rubyonrails.org/api_app.html

Tweets

Ruby on REST 4: Using Representers in Rails: Th...

rubyflow.com 05 Mar '12, 7pm

Ruby on REST 4: Using Representers in Rails Posted by apotonick on March 05, 2012 — 0 comments The fourth post in the "Rub...

In the world of web app frameworks good feature...

guides.rubyonrails.org 05 Mar '12, 12am

Web application frameworks are made to help developers building web applications. Some of them also help you with securing...

Preventing mass assignment vulns in RoR: Good l...

edgeguides.rubyonrails.org 04 Mar '12, 6pm

Web application frameworks are made to help developers building web applications. Some of them also help you with securing...

@dhh @37signals hm..

weblog.rubyonrails.org 05 Mar '12, 6pm

[ANN] Rails 3.2.2 has been released! Posted by aaronp March 01, 2012 @ 06:12 PM Rails 3.2.2 has been released. This releas...

はじめる!Rails3 第3巻について(経過報告) - Rails 雑感 - Ruby on ...

oiax.jp 06 Mar '12, 11am

はじめる!Rails3 第3巻について で「あと半月ぐらいで書き上がるかな」と書いてから2ヶ月が経過してしまいました…。 本業である技術コンサルティングとWeb開発の方で急に忙しくなっていたところへ、『改訂新版 基礎Ruby on Rails』...

A Fresh Cup - Home - What's New in Edge Rails #11

afreshcup.com 05 Mar '12, 11am

Monday, March 5, 2012 at 5:51AM Week of February 26-March 3, 2012 The big news this week is the switch to requiring whitel...

que

guides.rubyonrails.org 04 Mar '12, 8pm

The attacker creates a valid session id: He loads the login page of the web application where he wants to fix the session,...

“Rail Spikes: Is your Rails application safe?”

railspikes.com 05 Mar '12, 12am

Tarantula : A fuzzing plugin that spiders your application looking for problems. Via Stuart Halloway’s post on Revelance’s...

“NetBeans 7.1にRuby on Railsプラグインをインストールする手順 - R...

oiax.jp 04 Mar '12, 3am

Ruby on Railsの開発しかしないのなら、http://netbeans.org/downloads/index.html から「すべて」と書いてあるバンドルをダウンロードして、インストールするときに「カスタマイズ」ボタンをクリックして...

@matthewlang not sure if you've seen/used this ...

apidock.com 09 Mar '12, 11am

The Model layer represents your domain model (such as Account, Product, Person, Post ) and encapsulates the business logic...

Rails for Designers:

glu.ttono.us 01 Mar '12, 12am

Kevin, It’s great to see that you are from San Diego, as am I. I find rails very interesting compared to my normal mode of...

私がRailsを覚えた本だ。“@ore_public: 改訂新版 基礎Ruby on Rail...

oiax.jp 03 Mar '12, 5am

『改訂新版 基礎Ruby on Rails』 読者サポートページ 2012年3月5日発売予定 ただいま準備中... このページは、弊社監修の『改訂新版 基礎Ruby on Rails』の読者サポートページです。『基礎Ruby on Rails』...

6 Steps To Refactoring Rails (for Mere Mortals)...

engineyard.com 02 Mar '12, 8pm

Since December, Rails has undergone a fairly significant internal refactoring in quite a number of areas. While it was qui...

New @github pages infrastructure seems to be a ...

weblog.rubyonrails.org 01 Mar '12, 6pm

Rails/master is now 4.0.0.beta Posted by David December 20, 2011 @ 03:33 PM The forthcoming 3.2.x release series will be t...

Learning from Rails' failures:

merbist.com 29 Feb '12, 3pm

But what’s worse than everything listed so far is that the lack of competition and the internal rewrites made Rails lose i...