When you name a class, make sure to choose something that is unlikely to refer to two different things. For example, Visitor is a bad name for a class that represents unregistered users of your web site. This issue is that Visitor is the name of a well-known pattern. Like it or not, t...
[Off-Topic] Grandes Artistas Roubam Posted on May 13, 2012 A maioria de nós geeks provavelmente ouvimos a frase: “Good artists copy, great artists steal” Ouvimos no contexto do Steve Jobs, no contexto da cópia de interface gráfica primeiro da Apple vs a Xerox depois da Microsoft vs a ...
Oops! I forgot to post the weekly Ruby news updates from Ruby Weekly to Ruby Inside in February so.. here’s a mega roundup of all that was new in the Ruby and Rails worlds in February 2012. I’ll try to keep posting every week from here on – sorry. Highlights include: a new Ruby 1.9.3 ...
[Off-Topic] Grandes Artistas Roubam Posted on May 13, 2012 A maioria de nós geeks provavelmente ouvimos a frase: “Good artists copy, great artists steal” Ouvimos no contexto do Steve Jobs, no contexto da cópia de interface gráfica primeiro da Apple vs a Xerox depois da Microsoft vs a ...
Coercion Support for Roar with Virtus Posted by apotonick on May 13, 2012 — 0 comments We just married Virtus, a coercion gem, with the REST framework Roar. Check out how the automatic type conversion can help when parsing or rendering REST documents. Comments Post a Comment Comme...
Follow @RubyInside Ruby and Rails Jobs Senior Ruby Developer Insight Card Services Birmingham, Alabama Senior Ruby on Rails Engineer Dish Online Louisville, Colorado Senior Web Engineer for Rapidly-Growing Education Business Steve and Kate's Camp Sausalito, California Developer-Advoca...
[Off-Topic] Grandes Artistas Roubam - Parte 2 (Bakuman) Posted on May 13, 2012 Se gostou do meu artigo anterior Grandes Artistas Roubam , resolvi fazer um rápido apêndice de uma forma mais “divertida” de entender o que eu quis dizer. Como bom descendente de japoneses, sempre gostei de...
[Off-Topic] Grandes Artistas Roubam - Parte 2 (Bakuman) Posted on May 13, 2012 Se gostou do meu artigo anterior Grandes Artistas Roubam , resolvi fazer um rápido apêndice de uma forma mais “divertida” de entender o que eu quis dizer. Como bom descendente de japoneses, sempre gostei de...
If want to manage a wizard through a Rails app we should consider using Richard Schneeman’s Wicked gem . This adds behaviour to a Rails controller to to turn it into a multi-step form and we’ll show you how it works in this episode. The first step is to strip our long form down to as ...
Dir.mktmpdir creates a temporary directory. The directory is created with 0700 permission. The prefix and suffix of the name of the directory is specified by the optional first argument, prefix_suffix . If it is not specified or nil, “d” is used as the prefix and no suffix is used. If...
Lone Star Rubyconf Slides Posted over 3 years ago in Conferences . I've had a couple of requests for my slides from Lone Star Rubyconf. Here are those links for those who want them: At LSRC 2007 I gave a Ruby as a Glue Language speech . You can download my slides , if you like. I also...
Lately, the Ruby community has become fascinated by asynchronous and concurrent web servers, the newest of which is called Goliath . This can be advantageous for your application especially if you have a lot of traffic and slow IO or Database calls (like HTTP calls to external APIs) s...
Thanks to Action Mailer, sending email in Rails is easy but there are several gotchas to be aware of. Here I show how to send an email upon submitting a form and the configuration options necessary.
If true, destroys any members from the attributes hash with a _destroy key and a value that evaluates to true (eg. 1, ‘1’, true, or ‘true’). This option is off by default. :reject_if Allows you to specify a Proc or a Symbol pointing to a method that checks whether a record should be b...
Usage: gem install GEMNAME [options] Options: -v, --version VERSION Specify version of gem to install -l, --local Restrict operations to the LOCAL domain (default) -r, --remote Restrict operations to the REMOTE domain -b, --both Allow LOCAL and REMOTE operations -i, --install-dir DIR ...
pebbles-zenra 0.1.1 847 downloads 0 downloads today pebbles 0.1.0 516 downloads 0 downloads today pebbles-fizzbuzz 0.1.1 483 downloads 0 downloads today zenra 0.1.0 394 downloads 0 downloads today pebbles-anti_hangover 0.1.0 250 downloads 0 downloads today pebbles-xmas 0.1.0 209 downl...
pebbles-dajare 0.1.0 a gem to generate dajare install gem install pebbles-dajare Download Documentation Subscribe Stats Authors Tatsuya Sato 319 total downloads 165 for this version Owners Links Homepage Gemfile gem "pebbles-dajare", "~> 0.1.0" Versions 0.1.0 January 17, 2012 0.0.1 Ja...
SproutCore is a platform for building native look-and-feel applications on the web. This Ruby library includes a copy of the SproutCore JavaScript framework as well as a Ruby-based build system called Abbot.
There are a number of tools to solve this problem but in this episode we’re going to take a look at Guard . This provides a way to listen to file modifications and then perform an action when a file is modified. There are a large number of extensions available that enable Guard for di...
Available for hire Sandeep Campbell Aliases campbell Location India , Nagpur Company Tricom India Ruby on Rails programmer working since 2007 having 4.7 years of experience. Passion for ROR and always ready for new challenges. Explored rails 3 and worked on Rails 2. Working With Rails...