30 Jan '17, 12pm

ruby: Change ActionView ERB Handler from Erubis to Erubi by jeremyevans · Pull Request #27757 · rails/rails · GitHub https://t.co/bTPUrMGI4Z

Erubi offers the following advantages for Rails: * Works with ruby's --enable-frozen-string-literal option * Has 88% smaller memory footprint * Does no freedom patching (Erubis adds a method to Kernel) * Has simpler internals (1 file, <150 lines of code) * Has an open development model (Erubis doesn't have a public source control repository or bug tracker) * Is not dead (Erubis hasn't been updated since 2011) Erubi is a simplified fork of Erubis that contains just the parts that are generally needed (which includes the parts that Rails uses). The only intentional difference in behavior is that it does not include support for <%=== tags for debug output. That could be added to the ActionView ERB handler if it is desired. The Erubis template handler remains in a deprecated state so that code that accesses it directly does not break. It can be removed after Rails 5.1.

Full article: https://github.com/rails/rails/pull/27757

Tweets

ruby: Allow precision option for MySQL datetime...

github.com 02 Feb '17, 12pm

Allow precision option for MySQL datetimes #17673 Merged rafaelfranca merged 1 commit into rails :master from kamipo :date...

This Week in Rails: Mailer preprocessing and ne...

weblog.rubyonrails.org 28 Jan '17, 7pm

This Week in Rails: Mailer preprocessing and new ERB handler Posted by kaspth , January 28, 2017 @ 12:00 am in News Steamp...

PS4CameraをPCで使いたい人向けUSB3.0-aux変換セット、こんな感じであります。...

digikey.com 06 Feb '17, 6am

There was a problem with your request. We are unable to process your request. Please return to the previous page to try ag...

ruby: image_tag in ActionView::TestCase not res...

github.com 01 Feb '17, 12pm

Yes, it's still a problem on 3-2-stable. Including Sprockets::Helpers::RailsHelper however makes it work so I need to chec...

Want to learn some Ruby On Rails? [Create Web A...

reddit.com 30 Jan '17, 1pm

· 2 comments JavaScript lib future by the creators of Vue, React, Angular, RxJS, Polymer and Ember · 1 comment Want to lea...

Omnivore API with Ruby on Rails

rubyflow.com 30 Jan '17, 8am

× The Ruby and Rails community linklog Made a library? Written a blog post? Found a useful tutorial? Share it with the Rub...