25 Dec '13, 10am

id=1&id=2&id=3 形式のアプリを救うにはどうすれば良いだろうか。request Browsing: “Action Controller Overview — Ruby on Rails Guides”

class ClientsController < ApplicationController # 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.inactivated 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 "ne...

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

Tweets

Overview / Reflections of ST Portfolio 2013

Overview / Reflections of ST Portfolio 2013

thefinance.sg 25 Dec '13, 4pm

Divested – 5 lots of Freightlinks @0.105 ( now known as Vibrant Group ) loss of $180 . ( Apparently Freightlinks Express h...

Taking Action in a Decade of Change

postcarbon.org 25 Dec '13, 1am

A lot has changed over the last ten years. On September 26, 2003 — the day that Post Carbon Institute was given its offici...

¿Te la has pedido por #Reyes?

fubiz.net 25 Dec '13, 8pm

Personnellement et sans faire de pub, je possède cette caméra et j’en ai fais un usage intensif tout l’été (plongée sous m...

Unable to find Ruby on Rails developers to hire in New York? We love working with NY clients. Get in touch!

Unable to find Ruby on Rails developers to hire...

planetargon.com 02 Jan '14, 6pm

Our team is always looking to help businesses and organizations succeed with their web projects. If you’re in New York and...

Buenísimo video para relaciones “has_and_belong...

railscasts.com 03 Jan '14, 6pm

It is often asked: how do I create a list of checkboxes for managing a HABTM association? Ask no more because this episode...

Fubarino Contest: Network Nodes, Door Lock, and Smoker Controller

Fubarino Contest: Network Nodes, Door Lock, and...

hackaday.com 24 Dec '13, 12am

Here’s a round-up of three different Fubarino Contest entries; a video of each is available after the break. On the upper ...

A “FREE” Online Course: Build your own web-appl...

rubylearning.com 24 Dec '13, 4am

Build your own web-application framework with Ruby R egistrations are now open for RubyLearning’s “Pay if you like “, onli...

Happy New Year + 3 Action Items To Get Your Business Organized In 2014

Happy New Year + 3 Action Items To Get Your Bus...

morganlinton.com 02 Jan '14, 3am

Forecast – do you have a forecast for your business? Do you know how much you plan to make this month? How much you plan t...

Ruby From Other Languages:

ruby-lang.org 27 Dec '13, 7pm

When you first look at some Ruby code, it will likely remind you of other programming languages you’ve used. This is on pu...