12 Oct '13, 1pm

“Active Record Basics — Ruby on Rails Guides”

When writing applications using other programming languages or frameworks, it may be necessary to write a lot of configuration code. This is particularly true for ORM frameworks in general. However, if you follow the conventions adopted by Rails, you'll need to write very little configuration (in some case no configuration at all) when creating Active Record models. The idea is that if you configure your applications in the very same way most of the times then this should be the default way. In this cases, explicit configuration would be needed only in those cases where you can't follow the conventions for any reason.

Full article: http://guides.rubyonrails.org/active_record_basics.html

Tweets

“Active Record Validations — Ruby on Rails Guides”

edgeguides.rubyonrails.org 11 Oct '13, 8am

Database constraints and/or stored procedures make the validation mechanisms database-dependent and can make testing and m...

Eager Loading Multiple Associations do rails sa...

guides.rubyonrails.org 12 Oct '13, 12am

How to find records using a variety of methods and conditions. How to specify the order, retrieved attributes, grouping, a...

@marksim Thanks for helping me understand how a...

guides.rubyonrails.org 10 Oct '13, 7pm

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

"Rails Tips|Nokogiri::HTML::Builder" good read

oiax.jp 23 Oct '13, 2am

module ApplicationHelper include HtmlBuilder def table_of_users(users) markup do |m| m.table(id: 'users') do m.tr do m.th ...

先會推薦人直接把字串塞進 sql statement, 再說前提示OOXX, 這超抖的呀

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

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

Haha:) Topic : Religion : 7. Evil Ruby - Extend...

rubyforge.org 15 Oct '13, 7am

- theMCP is a Ruby-on-Rails Missionary Contacts Program enables missionary agencies to provide missionaries with a web-bas...

@creativereason see this category: @excid3 @rbates

railscasts.com 18 Oct '13, 6pm

AngularJS is an awesome framework for easily creating rich, client-side applications. Its powerful bindings allow you to d...

#peakoil China’s Crude Oil Imports Increase to ...

peakoil.com 12 Oct '13, 7pm

China ’s daily oil imports rose to a record in September as the world’s second-largest economy expanded and demand for ene...

A Universe In Ruby

rubyflow.com 14 Oct '13, 7pm

is an open source (AGPLv3+) Universe Simulator written in Ruby (eventmachine) that provides a JSON-RPC API to create, quer...

@stubbornella is a good read all around, but 3....

guides.rubyonrails.org 03 Oct '13, 11am

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

#GCRC14 Call for Proposals is mentioned in this...

rubyweekly.com 17 Oct '13, 6pm

In a simple inforgraphic, New Relic shares some info about Ruby usage as detected via their well used agent software. Unic...

didn't know this in #rails format phone numbers...

api.rubyonrails.org 15 Oct '13, 1pm

Provides methods for converting numbers into formatted strings. Methods are provided for phone numbers, currency, percenta...

Debugging Rails Applications in Development

rubyflow.com 16 Oct '13, 12pm

Debugging Rails Applications in Development Posted by rubiii on October 16, 2013 — 0 comments Very good, in-depth blog pos...

Scott Jamieson shoots 60 at Portugal Masters, ties European Tour record

Scott Jamieson shoots 60 at Portugal Masters, t...

golf.com 12 Oct '13, 7pm

Scott Jamieson shot a 60 to tie a European Tour record, finishing two strokes behind leader Paul Waring after three rounds...

Gallup #POLL : Democrat Party Approval Drops Single Point From Record Low #students #military #veter…

Gallup #POLL : Democrat Party Approval Drops Si...

breitbart.com 12 Oct '13, 7pm

The news that the Republican Party hit record low approval ratings in the Gallup tracking poll made all kinds of headlines...