09 Sep '13, 2pm

@alantucker

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.html

Tweets

German strongman Patrik Baboumian breaks world ...

ecorazzi.com 09 Sep '13, 4pm

Patrik Baboumian Breaks World Record with ‘Vegan Power’ 0 Tweet by Amanda Just September 9, 2013 Categories: Sports , Vega...

Development Banks Lend Record $108.9 Billion to Renewable Energy

Development Banks Lend Record $108.9 Billion to...

renewableenergyworld.com 10 Sep '13, 4pm

LONDON -- Development banks worldwide lent a record $108.9 billion to renewable energy and energy-efficient technology las...

[Prod/Sustainablity] How Active Dehumidificatio...

buildinggreen.com 04 Sep '13, 5am

Whether you choose a refrigerant-based or a desiccant-based system, dehumidifiers use energy and produce waste heat. Refri...

California sets quarterly record for #solar PV in Q2 2013, US adds 976 MW, according to new data

California sets quarterly record for #solar PV ...

renewableenergyworld.com 07 Sep '13, 9am

In Q2’13, new PV installed in California alone reached 521 MW, which is a new record for PV added by any state in the U.S....

Nissan LEAF leads electric cars to world record #greenenergy

Nissan LEAF leads electric cars to world record...

thegreencarwebsite.co.uk 04 Sep '13, 4am

The emerging presence of electric cars was emphasised outside the roads of Norway's capital city, Oslo: as 260 and a half ...

U.S. adds 976 MW of #solar PV in Q2'13, Califor...

solarindustrymag.com 05 Sep '13, 4pm

new solar photovoltaic capacity during the second quarter of 2013 (Q2'13), up 24% from 788 MW in the first quarter (Q1'13)...

100% Electric Vehicle & Plug-in Hybrid Electric Vehicle Sales Have Record Month!

100% Electric Vehicle & Plug-in Hybrid Electric...

cleantechnica.com 07 Sep '13, 9pm

The increases for each of the above (compared to 2012) are quite similar to the increases we saw in July. August was clear...

260.5 EVs set world record for electric vehicle parade [w/video]

260.5 EVs set world record for electric vehicle...

green.autoblog.com 03 Sep '13, 6pm

NISSAN LEAFs LEAD WORLD RECORD BID Norway has witnessed the largest ever gathering of moving electric vehicles... and most...

Record year for transatlantic traffic at @DublinAirport #travel

Record year for transatlantic traffic at @Dubli...

dublinairport.com 05 Sep '13, 2pm

The significant growth in transatlantic passenger numbers is due a number of factors, according to Mr Harrison. “We have a...

Rupp Targets American 5k Record in Brussels | D...

flotrack.org 05 Sep '13, 11pm

, this race has something for everyone. If you love watching the grudge match between the Kenyans and Ethiopians (plus one...

So, how long have I not noticed .pluck in Activ...

guides.rubyonrails.org 13 Sep '13, 7pm

But this approach becomes increasingly impractical as the table size increases, since User.all.each instructs Active Recor...