24 Feb '13, 10am

Rubyist Magazine - Ruby on Rails: The Bad Parts

class AcceptAnswerActivity < AbstractActivity attribute :answer attribute :questioner validates_signin_of :questioner validate do errors.add :questioner, :accepter_should_questioner unless question.author?(questioner) errors.add :question, :question_should_be_open unless question.status.open? end def do_process question.accepted_answer = answer question.status = :solved question.save! if answer.author?(questioner) create_event :accept_answer, question.author, answer, false create_event :answer_accepted, answer.author, answer, false else repute :accept_answer, question.author repute :answer_accepted, answer.author create_event :accept_answer, question.author, answer, true create_event :answer_accepted, answer.author, answer, true end end private def question answer.question end end

Full article: http://jp.rubyist.net/magazine/?0041-RailsTheBadParts

Tweets

Classified auto parts website ruby on rails by ...

freelancer.com 22 Feb '13, 6pm

I need a website similar to http://exching.com written in ruby on rails but for auto parts. The classified website allows ...

Ruby 2.0.0

jp.rubyist.net 24 Feb '13, 9am

Rubyist Hotlinks 【第 31 回】 樽家昌也さん Rubyist へのインタビュー企画。今回はたるいさんにお話を伺いました。(難易度:ポケコン) Ruby 2.0.0 リリース特集 編集:ささだ 2013 年 2 月 24 日に...

Rubyist Magazine - Ruby 2.0.0 リリース特集

jp.rubyist.net 24 Feb '13, 9am

I've known Ruby since she was just 4 or 5 years old. Of course, I knew her parents, Smalltalk and Perl, and had a nodding ...

ruby2.0に対応させるときの注意点まとめ / “Rubyist Magazine - Ru...

jp.rubyist.net 24 Feb '13, 10am

Magic Comment を書いていないファイルの文字列リテラルのエンコーディング (default script encoding) が UTF-8 に変更されました。[#6679] Ruby 1.9 においては、default scrip...

#jobs #java RUBY ON RAILS: Salary/Rate: Upto £1...

technojobs.co.uk 24 Feb '13, 3am

My client is looking for a developer with the following experience * Around 4-6+ years of work experience. * Around 2-3+ y...

#RubyOnRails Proofreading my Ruby on Rails proj...

freelancer.com 24 Feb '13, 11pm

I was in an Independent Study for a class at my University last semester to learn Ruby on Rails. I picked up a ton of grea...

Riding Rails: Rails 4.0: Beta 1 released!

weblog.rubyonrails.org 26 Feb '13, 12am

Hot on the heels of the first production version of Ruby 2.0 comes the first beta version of Rails 4.0. The two form a gre...

Join the Girls for Ruby on Rails! - Nerdletter ...

us5.campaign-archive2.com 22 Feb '13, 10am

Kalenderwoche: 9 / 25. Februar bis 03. März 2013 Join the Girls for Ruby on Rails! Software-Entwicklung ist eine von Männe...

Be a part of ethnic diversity among the ruby de...

We're so pleased to announce that we are hosting a FREE Learn Ruby on Rails Workshop in collaboration with RailsBridge Mee...

Rubyist Magazine - Ruby 2.0.0 のキーワード引数

jp.rubyist.net 24 Feb '13, 12pm

このメソッドは引数無しで呼び出すと、level: "ERROR", time: Time.now が渡されたのと同じように動きます。 log("Hello!") #=> Mon Feb 18 01:46:22 2013 [ERROR] Hell...

Great post by @azurecoder: 30 mins to a Ruby on...

Everything in this post took me in the region of 30 mins to setup. I’m fairly new to Ruby and don’t use it at all in my da...

Ruby on Rails #CVE-2013-0276 Remote Security By...

securityfocus.com 21 Feb '13, 6pm

Ruby on Rails Ruby on Rails 2.3.11 Ruby on Rails Ruby on Rails 2.3.14 Ruby on Rails Ruby on Rails 2.3.13 Ruby on Rails Rub...

Ruby On Rails Developer

linkedin.com 21 Feb '13, 5pm

Rawnet is a growing Digital Web and Mobile Application Agency, looking for a new Ruby on Rails Developer who shares our pa...

We are hiring Senior Ruby on Rails: Job Respons...

sysgen.com.ph 21 Feb '13, 8am

Commercial website application design and development Preparing functional and technical specifications in collaboration w...

#Vacature: Ruby ontwikkelaar / Ruby on Rails – ...

apeldoornvacaturebank.nl 21 Feb '13, 12am

De functie is ‘simpel’: Je wordt Ruby developer. Je gaat dus met ruby ontwikkelen en ze maken gebruik van het Ruby on Rail...