24 Apr '12, 10pm

Sam Ruby: Wunderbar on Rails

Wunderbar on Rails Tue 24 Apr 2012 at 21:12 Usage: add wunderbar and nokogiri to your Gemfile and run bundle install . Template extensions supported are _html and _json . Examples: view , layout , json . Note that as Rails layouts and views are predicated on the assumption that output is produced by concatenating text, one must use _ yield instead of simply yield . I have noticed that this may lose blank lines in the process, which apparently is a known issue with Nokogiri. Not a problem if the layout is erb, but then you lose the unified indentation that you get if you have a layout using _html . On the plus side, Wunderbar will note when the first argument to a call which creates an element is html_safe? and will treat it as markup. An example of where this is useful would be in the _td link_to calls below. _h1_ 'Listing products' _table do _tr do _th 'Title' _th _th _th...

Full article: http://www.intertwingly.net/blog/2012/04/24/Wunderbar-on-...

Tweets

Rails Searchable API Doc:

Rails Searchable API Doc:

railsapi.com 25 Apr '12, 1am

Rails S earch able API Doc beta :) Smart search, beautifully packed Rails v3.0.8rc1 or Rails v3.0.8rc1 + Ruby v1.9.2 or bu...

Ruby on Rails 3.2 を Ubuntu にインストールする手順をかなり丁寧に説明...

oiax.jp 22 Apr '12, 1pm

Ubuntuで初めてRubyやRailsに挑戦する方のために、最新の Ruby 1.9.3 と Ruby on Rails 3.2 のインストール手順をやや詳しく説明します。 なお、本稿ではRubyのインストールにrbenvを利用します。apt...

The Mega April 2012 Ruby and Rails News Roundup

rubyinside.com 27 Apr '12, 2pm

MRuby: A Lightweight Ruby Implementation by Matz It's been in the making for a while (remember RiteVM?) but this week Matz...

Rails Rumble 2012 задерживается

rubyflow.ru 24 Apr '12, 12pm

Команда Rails Rumble опубликовала в своем блоге сообщение о том, что состязание этого года откладывается до конца лета. Из...

UrlHelper#link_to - HTML5 data- attributes usin...

apidock.com 25 Apr '12, 7pm

Creates a link tag of the given name using a URL created by the set of options . See the valid options in the documentatio...

'Ruby on Rails 3.0 日記' を勉強中。ちょっと古いような気もするけど。

oiax.jp 22 Apr '12, 7am

Ruby on Rails 3.2 を Ubuntu にインストールする手順をかなり丁寧に説明してみました 【Rails 雑感】 (2012/04/22) Ruby on Railsで複合キーを扱う(7) -- 補遺 【Rails 雑感】 (2...

Making the Web Fast(er) one Rails page at a time

rubyflow.com 24 Apr '12, 7pm

Making the Web Fast(er) one Rails page at a time Posted by igrigorik on April 24, 2012 — 0 comments RailsConf 2012 slides ...

Memoizable#memoize - Example from Code School #...

apidock.com 27 Apr '12, 12am

# include InstanceMethods # if method_defined?(:#{original_method}) # if method_defined?(:_unmemoized_mime_type) raise "Al...

@m0ok the rails guide for testing is a great in...

guides.rubyonrails.org 24 Apr '12, 11am

Testing support was woven into the Rails fabric from the beginning. It wasn’t an “oh! let’s bolt on support for running te...

Redmineは次のメジャーバージョンアップ(2.0)でRails 3.2.xに移行します。お...

redmine.org 25 Apr '12, 7pm

As announced previously, the next major release of Redmine (2.0) will run with Rails 3.2. Today, the development branch wa...

This Week in Ruby: Rails 3.2, Rails Tutorial, a...

rubyinside.com 20 Apr '12, 4am

It's the latest Web-based syndication of Ruby Weekly , the weekly Ruby and Rails e-mail newsletter (which just tipped 11K ...

What's New in Edge Rails #18 - Week of April 15...

afreshcup.com 30 Apr '12, 11am

Monday, April 30, 2012 at 6:04AM Week of April 15 - April 29, 2012 Well, two weeks actually, but who's counting? In 41af36...

@AllenJlawson

ruby-lang.org 28 Apr '12, 9pm

Certain members of the Ruby community feel very strongly that you should never use a package manager to install Ruby, and ...

New Rails Issue: Users Guide is ... https://t.c...

guides.rubyonrails.org 23 Apr '12, 8pm

is a connection between two Active Record models. Associations are implemented using macro-style calls, so that you can de...

Создание и настройка рабочего окружения разрабо...

rubyflow.ru 21 Apr '12, 2pm

Создание и настройка рабочего окружения разработчика на Ruby и Ruby on Rails. В этой статье мы рассмотрены: Установка Git ...