31 Mar '13, 10pm

Does this bit of Rails documentation feel a little brotastic to anyone else (check the examples):

Tries to load the first record; if it fails, then create is called with the same arguments as this method. Expects arguments in the same format as Base.create. Examples # Find the first user named Penélope or create a new one. User . where ( :first_name => ' Penélope '). first_or_create # => <User id: 1, first_name: 'Penélope', last_name: nil> # Find the first user named Penélope or create a new one. # We already have one so the existing record will be returned. User . where ( :first_name => ' Penélope '). first_or_create # => <User id: 1, first_name: 'Penélope', last_name: nil> # Find the first user named Scarlett or create a new one with a particular last name. User . where ( :first_name => ' Scarlett '). first_or_create ( :last_name => ' Johansson ') # => <User id: 2, first_name: 'Scarlett', last_name: 'Johansson'> # Find the first user named Scarlett or create a ...

Full article: http://apidock.com/rails/ActiveRecord/Relation/first_or_c...

Tweets

Vine's New Embed Capabilities About to Make it Grow A Little Bit More: Vine's been making waves trying to bec...

Vine's New Embed Capabilities About to Make it ...

reelseo.com 29 Mar '13, 7pm

Today, Vine introduced an update to their application today that increases the embedding capabilities, adds some fun littl...

“Securing the Rails session secret – Phusion Co...

blog.phusion.nl 01 Apr '13, 2am

Omit the secret key from version control, but auto-generate a non-random key if missing. Instead of generating a random ke...

What’s New in Edge Rails #63: Week of March 25 ...

afreshcup.com 01 Apr '13, 12pm

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

@codefinger The bottom documentation link on is...

jruby.org 24 Mar '13, 1am

Browse JRuby API Javadocs online We greatly appreciate patches and pull requests for documentation updates. Please visit t...

Feel like riding a bicycle made of bamboo?: Bamboobee, a Singapore-based startup, is seeking crowdfunding on K...

Feel like riding a bicycle made of bamboo?: Bam...

news.cnet.com 28 Mar '13, 5pm

The Bamboobee Revolution Nostalgic model. (Credit: Jacqueline Seng/CNET Asia) We've seen bamboo speakers , laptops , styli...

[Rails]migrationで複数のALTER文を1回にまとめる方法 / “has_man...

m.onkey.org 27 Mar '13, 2am

Bulk ALTER TABLE with Rails 3 and MySQL Published about 2 years ago With this commit , Rails migrations will support addin...

A quick reference for Rails datatypes

guides.rubyonrails.org 31 Mar '13, 2am

Internally Rails only uses the migration’s number (the timestamp) to identify them. Prior to Rails 2.1 the migration numbe...

NEW POST: Our Little Hippy

NEW POST: Our Little Hippy

ickleoriental.net 31 Mar '13, 2pm

It probably helps a great deal that she has doting grandparents, aunties and uncles around her who gift her with dresses f...

LEEDuser offers full documentation samples of a...

leeduser.com 26 Mar '13, 6pm

LEEDuser’s Documentation Toolkit offers full downloads of a succcessful LEED-CI 2009 project. LEEDuser recently added comp...

#Rails is beautiful. Easy and elegant solution ...

railscasts.com 31 Mar '13, 4pm

It is now possible to add subdomains to Rails 3 without the use of additional plugins. Learn how in this episode.

Web application in ruby and rails error while r...

ruby-forum.com 29 Mar '13, 6am

Hey all , i m a newbie of ruby and rails , iahev an application which is in ruby rails , now i am trying to run on this lo...

Sometimes I feel like Agile Hitler: via @bryanl...

smartic.us 21 Mar '13, 6pm

http://www.example.com/ nofun not so funny…. http://smartic.us bryanl http://zachholman.com/ Zach This is hilarious. http:...

Check out a sneak peek of tomorrow’s episode of “It’s a Brad, Brad World,” plus a giveaway!: If you haven’t be...

Check out a sneak peek of tomorrow’s episode of...

purseblog.com 26 Mar '13, 2pm

If you haven’t been watching It’s a Brad, Brad World , this season, then you’re missing out. Between Brad Goreski, his sty...

Raising and Rescuing Custom Errors in Rails

rubyflow.com 27 Mar '13, 9am

Raising and Rescuing Custom Errors in Rails Posted by joshnesbitt on March 27, 2013 — 0 comments Following on from our pos...