RubyInstaller 1.8.7-p358 released RubyInstaller version 1.8.7-p358 is now available for download in both executable installers and 7-Zip binary archives. CHM documentation is also available as a 7-Zip archive. Enjoy! February 16, 2012 Read full article RubyInstaller 1.9.3-p125 RubyIns...
#339 Chef Solo Basics Apr 06, 2012 | 17 minutes | Production , Deployment , Tools Chef is a provisioning tool which allows you to spin up production servers automatically. Here I show how to get started with Chef Solo and create a custom cookbook. Subscribe to Watch Episode Tweet Show...
It is recommended that the majority of users install the proper point releases of redmine. Redmine currently releases a new version every 6 months, and these releases are considered very usable and stable. It is not recommended to install redmine from trunk, unless you are deeply fami...
Rubyでプログラミングを体験しよう 「これからプログラミングをはじめたい!」 「今までプログラムには興味があったけど難しそうでなかなか手を出せなかった……」 そんな人に Ruby のプログラミングを紹介します。 筆者はゲームプログラマー*1 なので、簡単なゲームプログラムを作りながらプログラムの基本的な部分を連載形式で解説します。この連載では原則として Windows で Ruby を使うことを前提に解説します。 プログラミングははじめてだけど HTML くらいなら知っているというような、ある程度コンピュータを使い慣れている方が対象です。 プログラムは魔法!? ...
Controllers are models too, as Piotr Solnica indicated in an excellent blog post . And in Rails applications, they’re pretty important models—so it’s a good idea to put them on equal footing, spec-wise, as your Rails models. Controller specs can be written more quickly than their inte...
Sass gets new syntax every now and then. This means that most of these modes are at least a little out-of-date. If anyone wants to take on the task of updating an old mode, that would be greatly appreciated.
Please don’t put “feature request” items into GitHub Issues. If there’s a new feature that you want to see added to Ruby on Rails, you’ll need to write the code yourself – or convince someone else to partner with you to write the code. Later in this guide you’ll find detailed instruct...
I’ve been using Textmate since I switched to the Mac a while back. It worked properly and I was fine with it. I never looked into Vim until a few months after @antekpiechinik told me I should. That was last week. To be honest, I thought Vim was for people that felt too cool to go out ...
#82 HTTP Basic Authentication Dec 02, 2007 | 4 minutes | Administration , Controllers , Rails 2.0 , Authentication Rails 2.0 offers an extremely easy way to do HTTP basic authentication. See how in this episode. Click to Play Video ▶ Tweet Download: mp4 Full Size H.264 Video (7.95 MB)...
Hacked Mon 02 Apr 2012 at 11:16 This site was hacked. A reader of the site noted that Google’s index of this site had been co-opted by dubious pharmaceutical offerings. I’ll gladly thank that individual publicly if they give me permission to do so; but my email reply got bounced as sp...
Rails core member , 37signaler and Prototype author Sam Stephenson has put up a blog over at sam.conio.net . He starts off by sharing some of his plans for Prototype 2.0 with Better inheritance for Prototype . Juicy tidbit: You might not have known that Justin Palmer is working on a P...
Instead of a hackfest, try a Coding Jam Session . Hackfests only rarely unite people to work toward a common cause; people enjoy the communal feel but too often people revert to working on their own thing instead of collaborating. Sprints are better, where the general topic or project...
opts.on '--jobs-status [TYPE]', "Show status of jobs every file; Disabled when --jobs isn't specified." do |type| options[:job_status] = (type && type.to_sym) || :normal end opts.on '-j N', '--jobs N', "Allow run tests with N jobs at once" do |a| if /^t/ =~ a options[:testing] = true ...
“Don’t cry because it’s over. Smile because it happened.” – Dr. Seuss In the open source world the projects we hold dear become a part of us. When I started hacking on Ruby projects five and a half years ago 1.8.6 was the new kid on the block. Then, I remember cheering on 1.8.6 as Kir...
なお、非 ASCII な文字を含むリテラルを magic comment なしに書いていた場合、US-ASCII ではない文字が存在しているとして、invalid multibyte char というエラーになります。これはソースコードの可搬性を確保するための処置です。スクリプトの作者は自分の書いたスクリプトがどのエンコーディングで記述されているかを知っています。しかし、そのスクリプトを入手した第三者が後からエンコーディングを知ることは簡単ではありません。日本語ならば NKF.guess 等でエンコーディングを推測することも不可能ではありませんが、ヨーロッパ系のエ...
Dynamoid is an ORM for Amazon's DynamoDB that supports offline development, associations, querying, and everything else you'd expect from an ActiveRecord-style replacement.
I used to make mix tapes (CDs) back in high school all the time. There’s nothing quite like spending hours upon hours picking 75 minutes worth of songs that fit together, flow nicely, and make you look cool to girls. Different types, too. Like a ‘slow song’ mix tape or a ‘punk rock’ m...