This is a small Ruby tutorial that should take no more than 20 minutes to complete. It makes the assumption that you already have Ruby installed. (If you don’t have Ruby on your computer download and install it before you get started.)
November 22, 2011 Tagged: learning productivity vim UUDDLRLRBABASS Comments (View) The vim learning curve is a myth I’ve been speaking about and teaching people vim for several years now, and I’ve noticed a surprising pattern: people are literally afraid of learning the editor. Over t...
#234 SimpleForm (revised) Mar 03, 2012 | 9 minutes | Forms , Views , Plugins Easily generate complex forms with SimpleForm. Here I show how to convert bulky markup into a concise list of fields, customize it by passing options, and add error handling. Subscribe to Watch Episode Tweet ...
writing readable ruby Posted by alindeman on March 03, 2012 — 0 comments Over on the Highgroove blog , Brian posts some thoughts on writing readable ruby . Comments Post a Comment Comment abilities for non registered users are currently deactivated, pending time to add a proper CA...
Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated records. Sequel supports advanced database features such as prepare...
ActiveWarehouse (Ruby ETL) v1.0.0.rc1 is out Posted by thbar on March 03, 2012 — 0 comments If you need to extract data from a system, adapt and transform it to reuse it in another app or a reporting system, while still using Ruby, then look at ActiveWarehouse . This Ruby ETL tool has...
There are still some limitations to the operations that #auto_upgrade! can perform. We're working hard on making it smarter, but there will always be scenarios where an automatic upgrade of your schema won't be possible. For example, there's no sane strategy for automatically changing...
At Pivotal Labs, we spend most of the day pair programming. The typical setup is an Apple iMac with a keyboard and mouse for each developer. We've been using the 24" iMacs for a while, usually with a second 17" display off to the side. But all our new machines are 27" iMacs, and those...
The difference between protected and private is very subtle, as you can see, which explains why protected is rarely used by most Rubyists. If it is used at all, it is generally as a convention, to document methods that are internal to the class, but which lie closer to the public inte...
OpenAuth2 is a thin OAuth2 wrapper written on top of Faraday in Ruby.
“Huba Huba ” – Chris on May 11, 2008 Surely, by now, you’ve heard of GitHub . (Don’t call me surely.) It’s totally the Indiana Jones of repository hosts. Feel free to stalk Pj and I to see what we’re up to. Blogging be damned! If you haven’t heard of GitHub, there are tons of posts ex...
Below is a list of all files of the project. Before downloading, you may want to read Release Notes and ChangeLog (accessible by clicking on release version).
capybara-puma 1.0.0 A Capybara server replacement using the Puma webserver install gem install capybara-puma Download Documentation Subscribe Stats Authors James Tucker 6 total downloads 6 for this version Owners Links Homepage Bundler gem "capybara-puma", "~> 1.0.0" Versions 1.0.0 Ma...
This method is designed to perform select by a single column as direct SQL query Returns Array with values of the specified column name The values has same data type as column.
『改訂新版 基礎Ruby on Rails』 読者サポートページ 2012年3月5日発売予定 ただいま準備中... このページは、弊社監修の『改訂新版 基礎Ruby on Rails』の読者サポートページです。『基礎Ruby on Rails』(2007年10月)についての情報をお探しの方はこちら へ。 現在のRailsの最新バージョンは3.2.2 、Rubyのバージョンは1.9.3-p123 です。本書のサンプルは、問題なく動作します。 サンプルソースのダウンロード rails3book-120301.zip 仮バージョンです。ダウンロードは発売後にお願いします...
begin require 'jeweler' Jeweler::Tasks.new do |gemspec| gemspec.name = "uniquify" gemspec.summary = "Generate a unique token with Active Record." gemspec.description = "Generate a unique token with Active Record." gemspec.email = "[email protected]" gemspec.homepage = "http://github...
Jason Seifer (of RailsEnvy / Ruby Show fame) and I were recently captivated by a particularly gorgeous technical book cover: Awesome, right? Eric Hodel (of RDoc and RubyGems fame) thought he had a better candidate for crappiest programming book cover: I'm not entirely sold on the Moon...
この連載では、簡単なRailsアプリケーションを作りながらCoffeeScriptとJQueryについて学んでいきます。 Webページの中のある区域をユーザーがダブルクリックすると正方形が現れ、それをマウスでドラッグしたり、ゴミ箱に捨てたりする、というアプリケーションを作ります。まったく実用的ではありませんが、お許しください。 Railsアプリケーションの名前は「Toraja」とします。 本連載で紹介する手順を実際に試してみるには、Ruby 1.9.3とRails 3.1/3.2がインストールされている環境が必要です。 本連載での記法 本題に入る前に、本連載での記...
Sequel provides thread safety, connection pooling and a concise DSL for constructing SQL queries and table schemas. Sequel includes a comprehensive ORM layer for mapping records to Ruby objects and handling associated records. Sequel supports advanced database features such as prepare...
まず用語について説明します。 厳密には以下のような使い分けが可能ですが、(Perl と perl の使い分けと違って) 大文字で始まる Ruby と小文字で始まる ruby が使い分けられていないのと同じように、使い分けにはあまりこだわらなくても構いません。 eRuby 任意のテキストファイルに Ruby スクリプトを埋め込む書式の仕様 eruby 前田修吾さん作の eRuby の C による実装 ERB 関将俊さん作の eRuby の Ruby による実装 ERb ERB が標準添付になる前のバージョン (ERb と ERbLight があった)