P ast participants of RubyLearning’s Core Ruby batches can join the new 33rd Core Ruby batch starting from 26th May 2012 for free and update their Ruby skills. If interested, please re-register on the new RubyLearning site and email me at satish [at] rubylearning.org with the email id...
Since 7.3, Vim has a setting called relativenumber (you can set it up with :set relativenumber or :set rnu ), which is a lot like the number setting you’re probably using to have line numbers already. But, instead of showing the absolute line numbers from the top of the file, it shows...
Easily deploy to multiple environments on Heroku with heroku_san Posted by kfaustino on May 26, 2012 — 0 comments Published a blog post about how to use heroku_san to deploy to multiple environments, and manage your applications. Comments Post a Comment Comment abilities for non r...
This is the first preview release of JRuby 1.7. This release represents a tremendous amount of work by dozens of contributors, and there are improvements in every subsystem. Users on Java 7 should start to see gains from invokedynamic, the JVM’s new support for dynamic languages. User...
> What cracks can I lose money through? Floating point numbers represent an extremely wide range of values - much wider than their integer counterparts. This is handled through an exponent and mantissa. For this ability, they trade off precision. Think about the case of adding a large...
Sinatra supports many different template engines (it uses the Tilt library internally to support practically every template engine in Ruby) For optimal experience, you should install the template engines you want to work with. The Sinatra dev team suggests using either ERB, which is i...
Rails 3 introduces a new query interface for performing finds in Active Record. See how it works along with the changes in named scopes.
JRuby Downloads Current Release: JRuby 1.7.0.preview1 JRuby 1.7.0.preview1 is our next installment of the JRuby 1.x series. Please check out our release notes for more information. JRuby 1.7.0.preview1 Binary .tar.gz (md5 , sha1 ) JRuby 1.7.0.preview1 Binary .zip (md5 , sha1 ) JRuby 1...
Yay! I got vim and autotest integration working. When I run autotest, if there is an error, I can have Vim read the errors from autotest and jump me to the right place. Here is a video of me using it: Please note that I’m not copying and pasting anything. In vim, I hit a command and V...
YAML とは、構造化されたデータを表現するためのフォーマットです。 目的は XML と似ていますが、XML と比べて「読みやすい」「書きやすい」「わかりやすい」という利点があります。 また YAML はあくまで「仕様」であり、それを処理するライブラリの「実装」が必要です。 Ruby 1.8 では Syck というライブラリが標準で含まれています。 本稿では 3 回に渡り、YAML および Ruby のライブラリである Syck について解説します。 プログラマーのための YAML 入門 (初級編) − YAML の書き方と、XML との比較について YAML は...
object. Returns nil if no match is found. See also Array#index.
Virtualize your development environments with Vagrant & Puppet Posted by crohr on May 15, 2012 — 0 comments This presentation shows how to use Vagrant & Puppet to easily provision virtual machines that can be used as development environments for your Rails projects. You'll keep your d...
Added by Jean-Philippe Lang over 1 year ago Deleting unused branches Files added modified copied renamed deleted
Enhances default Prawn PDF functionality (which includes PDF template handling/rendering).
rack-initforthe-facebook 0.0.5 Rack middleware for Facebook applications install gem install rack-initforthe-facebook Download Documentation Subscribe Stats Authors Rob Holland 126 total downloads 27 for this version Owners Links Homepage Gemfile gem "rack-initforthe-facebook", "~> 0....
ios_android_toolbox 0.0.13 Toolbox to manipulate iOS/Android projects install gem install ios_android_toolbox Download Documentation Subscribe Stats Authors Igor Sales 2,339 total downloads 16 for this version Owners Links Source Code Gemfile gem "ios_android_toolbox", "~> 0.0.13" Ver...
How to Learn Ruby (or any programming language) This guest post is contributed by Geoffrey Grosenbach , who designs, produces, and publishes the acclaimed PeepCode Screencasts for web developers and alpha geeks. PeepCode publishes cutting edge training videos on jQuery, Git, Ruby on R...
a gem to grab screenshots of webpages, or just parts of webpages
A bare-bones Ruby HTTP server that talks Rack and uses a thread per connection model of concurrency.