15 Apr '13, 5pm

@dzaporozhets I mean this So you should enable each observer manually.

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

What does being a Malaysian mean to you?

harismibrahim.wordpress.com 14 Apr '13, 8am

Petition to the Agung to restore the judiciary to the rakyat Letters to MPs directing a vote to oppose the Rashid bill Har...

Integration testing in the absurd land of Rails...

guides.rubyonrails.org 15 Apr '13, 12pm

Testing support was woven into the Rails fabric from the beginning. It wasn’t an “oh! let’s bolt on support for running te...

Watson sees funny side of his 'record' - Hitting double digits on a par-3 hole is never any fun, but Bubba Watson

Watson sees funny side of his 'record' - Hittin...

golf365.com 15 Apr '13, 8am

Watson sees funny side of his 'record' Last updated: 15th April 2013 Bubba Watson: Had a blast, well not all the time Rela...

Modifying the order of Datetime picker in Rails

api.rubyonrails.org 16 Apr '13, 5am

:use_month_numbers - Set to true if you want to use month numbers rather than month names (e.g. "2" instead of "February")...

Enable Tape Mode: Watch YouTube Become a Really Bad VCR Player

Enable Tape Mode: Watch YouTube Become a Really...

searchenginewatch.com 15 Apr '13, 4pm

Ever been watching a HD YouTube video and wondered what it would look like in crappy VHS quality? Me neither. But someone ...

Ruby on Rails Guides: Ruby On Rails Security Gu...

guides.rubyonrails.org 19 Apr '13, 1pm

The threats against web applications include user account hijacking, bypass of access control, reading or modifying sensit...

=8

=8

cleantechnica.com 17 Apr '13, 1am

On Monday, the 15th of April, 2013, the approximate 1.3 million solar power systems in Germany set a new domestic/world re...

“@0x6D6172696F: I wonder if there's many applic...

api.rubyonrails.org 21 Apr '13, 7pm

Class HTML::Sanitizer < Object actionpack/lib/action_controller/vendor/html-scanner/html/sanitizer.rb

Double Shot #1107: Teabag – Javascript test run...

afreshcup.com 15 Apr '13, 11am

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

Ruby on Rails Guides: Action Controller Overview

guides.rubyonrails.org 17 Apr '13, 4am

class ClientsController < ActionController::Base # This action uses query string parameters because it gets run # by an HT...

#Sequel for #ActiveRecord users, great resource...

sequel.rubyforge.org 16 Apr '13, 7am

and ActiveRecord use the active record pattern of database access, where model instances are objects that wrap a row in a ...

Bugatti sets world convertible speed record

Bugatti sets world convertible speed record

luxuo.com 15 Apr '13, 3pm

Car manufacturer Bugatti has announced that by reaching 408.84 km/h, its Veyron 16.4 Grand Sport Vitesse has has beaten th...