Have you ever headed to the jQuery UI download page, selected which jQuery UI components to include in your custom build, and dumped a bunch of .js, .css, and .png files in your app? That shouldn't be necessary -- Rails has an asset pipeline! Hence,
VersionSwitcher 0.6.0 - a RVM like tool for Ruby/Python/Node.js and so on Posted by kwatch on February 20, 2012 — 0 comments VersionSwitcher 0.6.0 released. VersionSwitcher is a RVM like tool for programming languages. It switches versions of Ruby, Python, Node.js, Perl, Lua, and so o...
Run 1 large test file split into multiple processes - parallel_split_test Posted by grosser on February 20, 2012 — 0 comments With parallel_split_test you can run chunks of one large test file in parallel processes, utilizing those lazy extra cores.
(Hello Minecrafters! If you’re looking for random mazes you can build in Minecraft, you might be better served by this page I wrote . It’ll give you block-wise schematics for the maze, and will require less mental translation than the demos here. Just don’t use IE—it won’t work right ...
Posted by jugyo on February 20, 2012 — 0 comments mocktra is a webmock DSL using sinatra. You can define web stub using sinatra. webmock is awesome!
Monday, February 20, 2012 at 5:14AM Some links from the part of the weekend that I didn't spend out in the woods. Coffee Taster: An Easy CoffeeScript Development Environment for Ruby Developers - Run a rake task, open a file in the browser, edit. Sidekiq::Mailer - Send mail in the bac...
is Mike Gunderloy's software development weblog, covering Ruby on Rails and whatever else I find interesting in the universe of software. I'm a full-time Rails developer and contributor, available for long- or short-term consulting, with solid experience in working as part of a distri...
Hello ruby-core, I need help understanding why my patch for a Nokogiri issue /seems/ to fix a SEGV under 1.9.3. I've tested my patch for ~24 hours already with no failures, but I still do not understand why my patch can fix the issue, so I am uncomfortable with my change. I've reprodu...
attr_writer :current_step validates_presence_of :shipping_name, :if => lambda { |o| o.current_step == "shipping" } validates_presence_of :billing_name, :if => lambda { |o| o.current_step == "billing" } def current_step @current_step || steps.first end def steps %w[shipping billing con...
Secrets Of Superstar Programmer Productivity: Flow Referenced in the video: Great Hackers by Paul Graham Hitting The High Notes by Joel Spolsky Some notes on productivity from futurepundit.com Update Conventional wisdom advocates checking your e-mail every five minutes - or worse yet,...
# приложение запущено на http://example.com/example get '/foo' do t = %w[text/css text/html application/javascript] request.accept # ['text/html', '*/*'] request.accept? 'text/xml' # true request.preferred_type(t) # 'text/html' request.body # тело запроса, посланное клиентом (см. ниже...
In the past, time zones have been very difficult to work with, but no longer! Rails 2.1 brings with it great time zone support as you can see in this episode.
First time ever - Free Clojure 101 Announced RubyLearning featured on pluggd.IN RubyLearning winner of the Shorty Award in Education, 2008 . Ruby’s Top Teacher in 2008 - Satish Talim Credits Thanks to Victor Goff and Jim Pryke who maintain this site on SliceHost. These courses have be...
« Merry Christmas! February 2012 17feb2012 · 10 new zsh tricks you may not know... It’s been over a year since the last installment of the series . Sifting through others’ .zshrc, one occasionally finds aliases like: alias ls=' ls' alias cd=' cd' … and so on. The reason for this is si...
IronRuby is an excellent addition to the .NET Framework, providing Ruby developers with the power of the .NET framework. Existing .NET developers can also use IronRuby as a fast and expressive scripting language for embedding, testing, or writing a new application from scratch. The CL...
Overview Download Documentation Support IronRuby IronRuby Tutorial
YAML フォーマットの文書を読み込み Ruby のオブジェクトを生成して返します。 引数として IO オブジェクトと文字列を受け付けます。 io や 文字列が複数の YAML ドキュメントを含んでいても、最初のものしか Ruby のオブジェクトに変換しません。 $ ruby-1.8 -ryaml -e ' p YAML.load(<<HERE) - apple - banana - carrot --- foo: bar HERE ' ["apple", "banana", "carrot"]