19 Dec '12, 12am

validates_associatedてのは知らなかった。あとで全部に付与しよう。 / “Ruby on Rails Guides: Active Record Validations and Callbacks”

Database constraints and/or stored procedures make the validation mechanisms database-dependent and can make testing and maintenance more difficult. However, if your database is used by other applications, it may be a good idea to use some constraints at the database level. Additionally, database-level validations can safely handle some things (such as uniqueness in heavily-used tables) that can be difficult to implement otherwise. Client-side validations can be useful, but are generally unreliable if used alone. If they are implemented using JavaScript, they may be bypassed if JavaScript is turned off in the user’s browser. However, if combined with other techniques, client-side validation can be a convenient way to provide users with immediate feedback as they use your site. Controller-level validations can be tempting to use, but often become unwieldy and difficult to t...

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

Tweets

Hm. Rails's official website looks pretty dated...

rubyonrails.org 24 Dec '12, 6am

“Ruby on Rails is a breakthrough in lowering the barriers of entry to programming. Powerful web applications that formerly...

What's new in Active Record as of Rails 4: Wrot...

rubyflow.com 21 Dec '12, 4pm

What's new in Active Record as of Rails 4 Posted by kfaustino on December 21, 2012 — 0 comments Wrote up an article highli...

#Job

freelancer.com 23 Dec '12, 5am

We have an immediate need for an experienced RoR developer. This initial project will involve tying an existing JS schedul...

The Best Way to Learn Rails

The Best Way to Learn Rails

net.tutsplus.com 21 Dec '12, 10pm

I know it sounds boring (it does to me), but it’s a great example and is used everywhere for a reason: it’s simple, you ca...

What’s New in Edge Rails #51: Weeks of December...

afreshcup.com 24 Dec '12, 1pm

A Fresh Cup is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting i...

Online the slides of my talk at @florenceonruby...

slideshare.net 19 Dec '12, 9pm

What’s new in ruby on rails 4 Presentation Transcript Whats new inRuby on Rails 4 A RoR 4 press review @silviorelli Spoile...