What is in mind is a sort of Chautauqua...that’s the only name I can think of for it...like the traveling tent-show Chautauquas that used to move across America, this America, the one that we are now in, an old-time series of popular talks intended to edify and entertain, improve the ...
Squeel provides a comprehensive DSL for writing SQL queries in Ruby. It is built upon Arel giving you access to many of its powerful features.
#355 Hacking with Arel May 30, 2012 | 15 minutes | Active Record , Refactoring , Search Here I show a variety of ways to rewrite a long SQL query using only Active Record and Arel. This includes generating scopes dynamically, adding an "or" operator, and adding a powerful "match" meth...
Full-Text Search in Rails using elasticsearch Posted by kfaustino on May 30, 2012 — 0 comments I just wrote a tutorial about how to implement full-text search using elasticsearch in Rails. Comments Post a Comment Comment abilities for non registered users are currently deactivated...
SQL Literals in Squeel (or, Overriding Backticks in Ruby) Posted by ernie on May 30, 2012 — 0 comments I just posted details about how Squeel overrides the behavior of backticks in its DSL blocks, along with some of the criteria I used when determining whether or not backticks were a ...
Developing Facebook apps in the cloud has brought with it a variety of tools, platforms and new techniques that allow developers to streamline their workflow and skyrocket their deployment process. Whether you’re a solo developer or a team you can begin implementing these techniques t...
Placeholder images and Gravatar integration Posted by Cloudinary on May 30, 2012 — 0 comments This blog post describes how to easily display placeholder images when accessing remote images that might not exist, such as Facebook & Twitter profile picture. You can also automatically tra...
May 25th, 2012 The Objectify framework, use rake everywhere, big news from JRuby, some Rails console tips, Jasmine testing knowledge and finally, never get lost again thanks to Sextant. May 22th, 2012 Dimension your Rails under a microscope, Open the struct2 for ActiveRecord reputatio...
Ruby CLI password manager reaches 1.0 Posted by rbjl on May 30, 2012 — 0 comments PWS 1.0 has been released. It got new features on crypto level and tweaks in the command-line interface. I've also written a small blog post about my Ruby experiences I've had while implementing the gem....
Services of ruby-lang.org including www, mailing lists, and Subversion will be down for a server maintenance from Wed Jun 06 15:00:00 UTC 2012 until Wed Jun 06 20:00:00 UTC 2012. Sorry for inconvenience.
The first thing this approach helps with is being able to make frequent commits without breaking the build or disrupting the work of teammates. Working with a centralized SCM system like Subversion can force you to choose between checkpointing your work and keeping the state of the pr...
サーバメンテナンスのお知らせ サーバメンテナンスのため、日本時間2012年6月7日(木) 午前0時~午前5時の間、ruby-lang.orgのサービス(www、メーリングリスト、Subversionを含む)を停止します。 ご迷惑をおかけしますが、ご協力をお願いします。 Posted by Shugo Maeda on 30 May 2012
when 'server' # Change to the application's path if there is no config.ru file in current dir. # This allows us to run script/rails server from other directories, but still get # the main config.ru and properly set the tmp directory. Dir.chdir(File.expand_path('../../', APP_PATH)) unl...
Stress, thy name is source code. Next step in the Chrome OS journey - Does anyone actually use a Chromebook, now joined by a desktop version? Why has Google not given up on this yet? Clippy.js - JavaScript implementation of Microsoft's Clippy for any web site. Grab it fast if you want...
Utilizar o browser para gerenciar bancos de dados: por mais estranho que pareça, esta é a proposta do SQLite Manager, um plugin do Firefox que permite administrar seus dados. Apesar de ser um add-on, não subestime seu poder, pois o SQLite Manager é bastante versátil. O Manager possibi...
The JVM provides a number of management and monitoring interfaces that you, as a JRuby user, can use to keep an eye on or profile your application. There are interfaces for monitoring threads, monitoring memory usage, monitoring loaded JVM classes, and even for monitoring JRuby intern...
#154 Polymorphic Association (revised) May 19, 2012 | 11 minutes | Active Record , Routing A polymorphic association allows a model to belong_to different types of other models. Here I show how to make a single comment model belong to articles, photos, and events. Subscribe to Watch E...
1 126930 hash_alloc:hash-alloc /Users/aaron/git/rails/activerecord/lib/active_record/base.rb:1528 1 126930 hash_alloc:hash-alloc /Users/aaron/git/rails/activerecord/lib/active_record/base.rb:1529 1 126930 hash_alloc:hash-alloc /Users/aaron/git/rails/activerecord/lib/active_record/base...
sleepy_penguin provides access to newer, Linux-only system calls to wait on events from traditionally non-I/O sources. Bindings to the eventfd, timerfd, inotify, and epoll interfaces are provided.
Returns a label tag tailored for labelling an input field for a specified attribute (identified by method ) on an object assigned to the template (identified by object ). The text of label will default to the attribute name unless a translation is found in the current I18n locale (thr...
Using resque-scheduler with resque-status We're attempting to use both of these together, and encountered problems getting it to work. Another project had found the answer. Resque scheduler only calls the correct method if you provide a custom_job_class in your yaml file: This code fr...
Download: MP3 18 MB | MP4 18 MB Three interviews with developers who use why the lucky stiff’s Camping framework. See also Presenter and DCSS by Myles Byrne Cheat by Chris Wanstrath Fog Creek Software Dream Ledger by Michael Gorsuch Mountain West Ruby Conference Interviewed by Geoffre...