09 Jan '14, 4pm

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/v3.1.3/active_record_valida...

Tweets

We still need a couple more sponsors to make @l...

larubyconf.com 09 Jan '14, 9pm

With out the continued support of the companies below the Los Angeles Ruby Conference would not be the quality it is today...

I wonder why Rails seems by default to downplay...

robots.thoughtbot.com 08 Jan '14, 6pm

The Perils of Uniqueness Validations Derek Prior July 17, 2013 rails postgres Your Rails application probably makes use of...

Beginner’s guide to testing Rails apps

robots.thoughtbot.com 14 Jan '14, 6pm

I'm frequently asked what it takes to begin testing Rails applications. The hardest part of being a beginner is that you o...

Here's the method that hands over an authentici...

api.rubyonrails.org 13 Jan '14, 3am

Controller actions are protected from Cross-Site Request Forgery (CSRF) attacks by including a token in the rendered html ...

@sanjay can you use a has_and_belongs_to_many a...

guides.rubyonrails.org 05 Jan '14, 11pm

is a connection between two Active Record models. Associations are implemented using macro-style calls, so that you can de...

テストは文法がむづいわ / “テストの基本構造 - RSpec/Capybara入門 - Ruby on Rails with OIAX”

テストは文法がむづいわ / “テストの基本構造 - RSpec/Capybara入門 - Ru...

oiax.jp 09 Jan '14, 2am

require 'spec_helper' describe 'トップページ' do specify '挨拶文を表示' do visit root_path expect(page).to have_css('p', text: 'Hello ...

Understanding yield - #RoR #Rails #Layout #Rend...

guides.rubyonrails.org 09 Jan '14, 3pm

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

Active and Passive Learning and a Project

jimseven.com 10 Jan '14, 4pm

I meet and chat to quite a lot of baristas and coffee people from all over the world. Often one of the topics that comes u...

Rails Layout Gem

rubyflow.com 10 Jan '14, 1am

generates application layout files using Bootstrap or Foundation. My blog post on the Rails Layout Gem v1.0.1 release give...

Lazing With A Ruby

Lazing With A Ruby

hackaday.com 11 Jan '14, 12am

While the design and manufacture of the first ruby laser was astonishingly complex, the basic idea behind it is pretty sim...

Thanks @rubyfive for the Episode #428 talking a...

ruby5.envylabs.com 09 Jan '14, 9pm

January 7th, 2014 Test Driving a JSON API in Rails, Jubilee for Vert.x, Exception#cause, Hulse, Caching an API January 3rd...

Getting Started with Rails — Ruby on Rails Guides -

Getting Started with Rails — Ruby on Rails Guid...

edgeguides.rubyonrails.org 19 Jan '14, 9am

Rails is a web application development framework written in the Ruby language. It is designed to make programming web appl...

Rolls-Royce guides drivers to Ghost model through bespoke series

Rolls-Royce guides drivers to Ghost model throu...

luxurydaily.com 09 Jan '14, 9am

Rolls-Royce leather interior options Rolls-Royce Motor Cars is polishing its reputation for bespoke services with the laun...

@r_0b3rt @PragTob @mpapis @plexus yeah I know. ...

guides.rubyonrails.org 30 Dec '13, 4pm

Active Record Basics Rails Database Migrations Active Record Validations Active Record Callbacks Active Record Association...

after_save (ActiveRecord::Callbacks) - APIdock:

apidock.com 08 Jan '14, 7pm

Method deprecated or moved This method is deprecated or moved on the latest stable version. The last existing version (v2....