14 Mar '13, 5pm

Ruby on Rails Guides: Action Controller Overview:

class ClientsController < ActionController::Base # This action uses query string parameters because it gets run # by an HTTP GET request, but this does not make any difference # to the way in which the parameters are accessed. The URL for # this action would look like this in order to list activated # clients: /clients?status=activated def index if params[:status] == "activated" @clients = Client.activated else @clients = Client.unactivated end end # This action uses POST parameters. They are most likely coming # from an HTML form which the user has submitted. The URL for # this RESTful request will be "/clients", and the data will be # sent as part of the request body. def create @client = Client.new(params[:client]) if @client.save redirect_to @client else # This line overrides the default rendering behavior, which # would have been to render the "create" view. render :a...

Full article: http://guides.rubyonrails.org/action_controller_overview....

Tweets

VIDEO: VW Golf MK7′s infotainment system in action

paultan.org 15 Mar '13, 6am

VIDEO: VW Golf MK7′s infotainment system in action By Hafriz Shah on March 15, 2013 We’ve written about the Volkswagen Gol...

Industrial Action by Go North East Drivers Susp...

simplygo.com 14 Mar '13, 8am

Industrial action by members of the UNITE trade union employed by Go North East has been called off. Following lengthy dis...

Implementing a comfortable (multi step) import ...

metascape-blog.tumblr.com 12 Mar '13, 10am

Implementing a comfortable (multi step) import process As we did in one of our last projects, I want to show how we split ...

WebSockets on Rails 4 and Ruby 2

pogoapp.com 12 Mar '13, 3am

WebSockets on Rails 4 and Ruby 2 Posted on Mar 11 | By paul WebSockets are an exciting new HTML5 technology which has fina...

House Republicans "missing in action" on climat...

treehugger.com 13 Mar '13, 1pm

In an op-ed at The HIll , Rep. Henry A. Waxman (D) says the Republican-led Energy and Commerce Committee has been "missing...

Please retweet: All industrial action by Go Nor...

simplygo.com 13 Mar '13, 7pm

All industrial action by Go North East drivers has been suspended. All services will operate normally this Friday and Mond...

What's New in Edge Rails #61

afreshcup.com 18 Mar '13, 1pm

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

Memory module and controller IC firms see reven...

digitimes.com 11 Mar '13, 5am

Memory module and controller IC firms see revenues fall in February Epistar, Everlight report falling February revenues TS...

Help: Want to update #Ruby #Rails companies in ...

rubylearning.com 18 Mar '13, 6am

), was established in 1990 by Dr. Anand Deshpande. It is focused on Outsourced Product Development [OPD] only. Persistent ...

Proposed Industrial Action on Friday 15th, Mond...

simplygo.com 11 Mar '13, 2pm

Late on Friday afternoon (8 March) we received notification from the Regional Full Time Officer for the UNITE trade union ...

Amt of plastic that ends up in ocean each year = yearly catch of Atlantic cod: 1.6 bil pounds. Plastics facts:

Amt of plastic that ends up in ocean each year ...

oceana.org 11 Mar '13, 5pm

Plastic debris in the ocean is a global problem that continues to worsen. While as much as 1.6 billion pounds of plastic e...

How to do Responsive opt-out by setting the vie...

wearecube.ch 08 Mar '13, 10am

Some mobile browsers (Opera on Android, Firefox on Android) do not update the actual viewport when the meta-tag gets chang...