17 Apr '13, 3am

Single resource REST Rails routes via @pivotallabs by me

REST principles by default is a fantastic convention within Rails applications. The documentation for how to route HTTP requests are comprehensive and give examples about photo resources within an application. If you’ve got photo and tag as first class resources of your application, Rails has you covered. But what if you are building an application with a focus on one type of resource, do you really want /resource_type as a prefix to all of your application paths? I certainly don’t and I’ll show you how to remove that without diverging from Rails core strenghts. For better or worse, I’m always conscience of making sure applications I’m involved in have Cool URIs and sometimes that does mean fighting the Rails conventions. However Rails routing is very flexible and can provide me with the application paths that make me happy. Take Twitter as an example. Every user has their...

Full article: http://pivotallabs.com/single-resource-rest-rails-routes/

Tweets

Building a fast, lightweight REST service with ...

pivotallabs.com 14 Apr '13, 9pm

I recently started building a Rails 3 app that will function as an internal REST service. I wanted it to be as lightweight...

@95_derek This is the only SG one! The rest all...

ebay.com.sg 18 Apr '13, 2am

This amount includes seller specified US postage charges as well as applicable international postage, handling, and other ...

“@0x6D6172696F: I wonder if there's many applic...

api.rubyonrails.org 21 Apr '13, 7pm

Class HTML::Sanitizer < Object actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb

#Sequel for #ActiveRecord users, great resource...

sequel.rubyforge.org 16 Apr '13, 7am

and ActiveRecord use the active record pattern of database access, where model instances are objects that wrap a row in a ...

Modifying the order of Datetime picker in Rails

api.rubyonrails.org 16 Apr '13, 5am

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

Finished filming our online Rails course! Look ...

pragmaticstudio.com 16 Apr '13, 5pm

Subscribe To Our Newsletter Want to get on the fast track to learning Rails? We'll be releasing our new online Rails cours...

Single Origin Meets Single Malt

frshgrnd.com 17 Apr '13, 5pm

If you're in Los Angeles, the LA Coffee Club and Caffe Luxxe are hosting what looks like a pretty fun coffee and whisky ta...

@_atton resque worker なるものが処理してくれる

oiax.jp 19 Apr '13, 7am

#!/usr/bin/env ruby require File.expand_path('../../config/application', __FILE__) Rails.application.require_environment! ...

How to updatye Parent Task through Redmine Rest...

redmine.org 17 Apr '13, 11am

I need to update Parent Task using Redmine Rest API. I am passing following things : URL to update : http://localhost:3000...

Migrating from a single Rails app to a suite of...

pivotallabs.com 07 Apr '13, 6am

In order to make day to day development easier, and to avoid the “where do migrations live…” conversation and top level Ra...

Irish culture used in territorial claim, Even b...

translink.co.uk 28 Apr '13, 8pm

Timetables Journey Planner Fares & Tickets Special Offers News About us Contact us Privacy Policy Legal Information View D...

Ruby on Rails Guides: Ruby On Rails Security Gu...

guides.rubyonrails.org 19 Apr '13, 1pm

The threats against web applications include user account hijacking, bypass of access control, reading or modifying sensit...

What's New in Edge Rails #65

afreshcup.com 22 Apr '13, 12pm

is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the univer...

Good example of resource URLs w/ appropriate HT...

guides.rubyonrails.org 27 Apr '13, 4pm

In addition to resource routing, Rails has powerful support for routing arbitrary URLs to actions. Here, you don’t get gro...