28 Apr '14, 10pm

Hashrocket Blog - Rails Quick Tips - ActiveRecord Ordering

See the difference? When the symbol is passed, the query is built using fully qualified and properly quoted column names. Most of the time your query will run fine but this does matter! The issue comes up when you start joining tables or merging queries. Without the column being fully qualified with the table name, your query may produce an ambiguous match. This occurs when your joined tables have columns with the same name.

Full article: http://hashrocket.com/blog/posts/rails-quick-tips-activer...

Tweets

Coming up at 12:30 p.m. ET, AICPA Insights will...

blog.aicpa.org 03 May '14, 4pm

Many people think of networking as either schmoozing or as a purely social activity. In reality, a strong professional net...

Understanding Ruby and Rails: Lazy load hooks -...

simonecarletti.com 28 Apr '14, 10am

. The concept is to defer initialization of an object until the point at which it is needed. This design pattern decreases...

Rails is omakase; so is AngularJS via @pivotallabs

pivotallabs.com 28 Apr '14, 3am

DHH, one of the creators of Rails wrote a seminal blog post about Rails’ configurability and design to permit choice, whil...

Apparently "type" is a reserved property in Act...

apidock.com 28 Apr '14, 9am

Defines the name of the table column which will store the class name on single-table inheritance situations. The default i...

Ruby on Rails 4.0 Release Notes — Ruby on Rails...

guides.rubyonrails.org 29 Apr '14, 7pm

If you're upgrading an existing application, it's a great idea to have good test coverage before going in. You should also...

10 tips for developing a successful blog: #seo #blog #tips

10 tips for developing a successful blog: #seo ...

webseoanalytics.com 03 May '14, 6pm

Today’s blogosphere counts several millions active blogs offering a great variety of topics and content. The wonderful asp...

uploadcare-rails (1.0.4): Rails wrapper for Upl...

rubygems.org 29 Apr '14, 10am

Rails wrapper for Uploadcare service. Based on uploadcare-ruby gem (https://github.com/uploadcare/uploadcare-ruby)

#nice #rails #scienceFTW

tenderlovemaking.com 26 Apr '14, 12pm

Active Record creates an instance of an ActiveRecord::Relation that contains the information that you passed to where , or...

netbeans_default_options の設定値の末尾に -J-Dawt.useSy...

oiax.jp 28 Apr '14, 6am

NetBeans 7.2のインストールディレクトリ下の etc/netbeans.conf をテキストエディタで開く。 netbeans_default_options の設定値の末尾に -J-Dawt.useSystemAAFontSetti...

Google AdWords Dynamic Search Ads: 10 Quick Tip...

searchenginewatch.com 25 Apr '14, 1pm

Check out this article to see if DSA campaigns are a good fit for you. Learn how to set up a Dynamic Search Ads campaign a...

Hacking Manufacturing: Ordering a Custom Heatsi...

hackaday.com 27 Apr '14, 8pm

Building a one-off hack is fun. But what happens when people like your hack so much they want to buy it? As many of us hav...