23 Oct '13, 2am

"Rails Tips|Nokogiri::HTML::Builder" good read

module ApplicationHelper include HtmlBuilder def table_of_users(users) markup do |m| m.table(id: 'users') do m.tr do m.th 'Family Name' m.th 'Given Name' end users.each do |u| attrs = {} attrs[:class] = 'admin' if u.admin? m.tr(attrs) do m.td u.family_name m.td u.given_name end end end end end end

Full article: http://www.oiax.jp/rails/tips/nokogiri_html_builder.html

Tweets

Check out our Rails Rumble Roundup

Check out our Rails Rumble Roundup

robots.thoughtbot.com 22 Oct '13, 5pm

Rails Rumble Roundup calebjthompson October 22, 2013 rails-rumble Last weekend, two teams of thoughtbotters participated i...

@jcoglan @pixeltrix Initialisers in rails also ...

guides.rubyonrails.org 23 Oct '13, 7pm

configures Rails itself to serve static assets. Defaults to true, but in the production environment is turned off as the s...

"Upgrading to Rails 4" is open source

rubyflow.com 21 Oct '13, 2pm

"Upgrading to Rails 4" is open source Posted by alindeman on October 21, 2013 — 0 comments upgradingtorails4.com is now op...

Rails Tips|Decorator/Presenter @feedlyさんから

oiax.jp 20 Oct '13, 4pm

class UserPresenter attr_accessor :user, :view_context delegate :family_name, :given_name, to: :user def initialize(user, ...

Книга "Upgrading to Rails 4" теперь доступна бе...

rubyflow.ru 22 Oct '13, 8am

Книга "Upgrading to Rails 4" теперь публично доступна на GitHub. Вы все также можете купить ее за $15 на http://www.upgrad...

Rails 4.0.1.rc1 has been released! Please give ...

weblog.rubyonrails.org 17 Oct '13, 4pm

I am happy to announce that Rails 4.0.1.rc1 has been released. This is a bug fix release and includes more than 450 commit...

Debugging Rails Applications in Development

rubyflow.com 16 Oct '13, 12pm

Debugging Rails Applications in Development Posted by rubiii on October 16, 2013 — 0 comments Very good, in-depth blog pos...

Rails 3.2.15 has been released! Please check ou...

weblog.rubyonrails.org 16 Oct '13, 5pm

I am happy to announce that Rails 3.2.15 has been released. This is a bug fix release and includes 56 commits. This releas...

Rails 3.2.15

rubyflow.ru 18 Oct '13, 8am

Вышел новый Rails 3.2.15. Это баг-фикс релиз, поэтому всем настоятельно рекомендуется обновиться. Исправлена уязвимость в ...

Please hack my Rails: Please hack my Rails

rubyflow.com 17 Oct '13, 4pm

Please hack my Rails Posted by mpapis on October 17, 2013 — 0 comments Please hack my Rails Comments “ ” Post a Comment Co...

Rails route helpers are brittle via @pivotallabs

pivotallabs.com 19 Oct '13, 3pm

TL;DR: Use the resource itself instead of a route helper when representing urls in your Rails application. Route helpers h...

How To Build an App in 48 Hours - Rails Rumble

rubyflow.com 16 Oct '13, 11am

How To Build an App in 48 Hours - Rails Rumble Posted by tsmango on October 16, 2013 — 0 comments This year, Darcy Laycock...

btw, I wrote another ebook about Rails

gilesbowkett.blogspot.com 12 Oct '13, 10pm

Software As A Disservice: Fixing A Broken Rails App . It's a caffeine-fueled foray into fixing legacy code. I wrote it par...

“#348 The Rails API Gem - RailsCasts”

railscasts.com 18 Oct '13, 12pm

$ rake middleware use ActionDispatch::Static use Rack::Lock use #<ActiveSupport::Cache::Strategy::LocalCache::Middleware:0...

Old but exceptionally accurate post - 11 Tips o...

rubyinside.com 10 Oct '13, 10am

11 Tips on Hiring a Rails Developer By Peter Cooper / November 29, 2007 The following article is a guest article written b...