04 Jun '12, 7pm

#Rails find of the day: #link_to_if and #link_to_unless

<%= button_to "New", :action => "new" %> # => "<form method="post" action="/controller/new" class="button_to"> # <div><input value="New" type="submit" /></div> # </form>" <%= button_to "New", :action => "new", :form_class => "new-thing" %> # => "<form method="post" action="/controller/new" class="new-thing"> # <div><input value="New" type="submit" /></div> # </form>" <%= button_to "Create", :action => "create", :remote => true, :form => { "data-type" => "json" } %> # => "<form method="post" action="/images/create" class="button_to" data-remote="true" data-type="json"> # <div><input value="Create" type="submit" /></div> # </form>" <%= button_to "Delete Image", { :action => "delete", :id => @image.id }, :confirm => "Are you sure?", :method => :delete %> # => "<form method="post" action="/images/delete/1" class="button_to"> # <div> # <input type="hidden" name="_method" value=...

Full article: http://api.rubyonrails.org/classes/ActionView/Helpers/Url...

Tweets

@wayoutmind @nlsmith I usually refer to but tho...

guides.rubyonrails.org 05 Jun '12, 1am

Ruby on Rails is not “someone else’s framework.” Over the years, hundreds of people have contributed to Ruby on Rails rang...

Wednesday is National Running Day! @DeanKarnaze...

dean.runnersworld.com 04 Jun '12, 8pm

National Running Day , held annually on the first Wednesday in June, is a day when runners everywhere declare their passio...

Simple Test Metrics in Your Rails App, and What...

robots.thoughtbot.com 05 Jun '12, 2am

logged_in_user_context do context "with at least one purchase" do setup do @purchases = paginate([Factory(:purchase)]) @st...

“Ruby on Railsで複合キーを扱う(1) - Rails 雑感 - Ruby on ...

oiax.jp 03 Jun '12, 9pm

Ruby on Railsでは、データベーステーブルの主キーとしてidというカラムを使うのがデフォルトです。 誤解される方も多いのですが、もちろん主キーの名前は変更できます。たとえば、User モデルに対応するusers テーブルの主キーがui...

What’s New in Edge Rails #23: Week of May 28 -J...

afreshcup.com 04 Jun '12, 4pm

It was a fairly quiet week on the Rails front. Well, if you don't count multiple non-edge dot releases for security fixes....

Ruby on Rails Guides: Configuring Rails Applica...

edgeguides.rubyonrails.org 02 Jun '12, 10pm

configures Rails itself to serve static assets. Defaults to true, but in the production environment is turned off as the s...

Organic Farming Helps Returning Soldiers Find Peace

Organic Farming Helps Returning Soldiers Find P...

care2.com 01 Jun '12, 3am

Soldiers returning from combat in the Middle East are faced with the difficult task of finding their place in civilian lif...

Bookmarked: "Layouts and Rendering in Rails"

guides.rubyonrails.org 27 May '12, 6pm

To find the current layout, Rails first looks for a file in app/views/layouts with the same base name as the controller. F...

The Only Tool You’ll Need to Find Mountains of Link Prospects

The Only Tool You’ll Need to Find Mountains of ...

searchenginejournal.com 31 May '12, 6pm

Finding links can be one of the most tedious parts of SEO. You have to try out various operators, test out different keywo...

Ever wondered what @PoppyD would do if she was queen for a day...? Us too. Wonder no more tweeps...

Ever wondered what @PoppyD would do if she was ...

tatler.com 02 Jun '12, 2pm

Can you imagine being Her Majesty for a whole 24 hours? Yes? So can Poppy Dinsey and this is what she'd do... "I'd probabl...

Find your way…: “Some dream of success, others ...

runwithjill.com 28 May '12, 10pm

“Some dream of success, others make it happen. Look at those around you who just make things happen. They have a clear goa...

golf

golf

golfdigest.com 02 Jun '12, 12pm

It began as a dream, a boy, 16, and his father, descending the steps behind The Lodge at Pebble Beach and gazing wistfully...

Flat Tire Leads Man to Find Kitten During 12 Mile Walk Home | Care2 Causes

Flat Tire Leads Man to Find Kitten During 12 Mi...

care2.com 31 May '12, 6am

Written by Chuck Merriman of New York The day started out like any other day. Got up, went to work, got my paycheck, start...

Good news everyone! Rails 3.2.5 has been released.

weblog.rubyonrails.org 01 Jun '12, 3am

Good news everyone! Rails version 3.2.5 has been released. This version of Rails is a less broken version of 3.2.4! What h...