The Artima Developer Community
Sponsored Link

Ruby Buzz Forum
Rails-Footnotes Resurrected For Rails 3

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Rick DeNatale

Posts: 269
Nickname: rdenatale
Registered: Sep, 2007

Rick DeNatale is a consultant with over three decades of experience in OO technology.
Rails-Footnotes Resurrected For Rails 3 Posted: May 18, 2011 1:10 PM
Reply to this message Reply

This post originated from an RSS feed registered with Ruby Buzz by Rick DeNatale.
Original Post: Rails-Footnotes Resurrected For Rails 3
Feed Title: Talk Like A Duck
Feed URL: http://talklikeaduck.denhaven2.com/articles.atom
Feed Description: Musings on Ruby, Rails, and other topics by an experienced object technologist.
Latest Ruby Buzz Posts
Latest Ruby Buzz Posts by Rick DeNatale
Latest Posts From Talk Like A Duck

Advertisement
A few weeks ago I noticed that there was some recent maintenance activity on the old rails-footnotes gem. I used to use this years ago. Among other things it manipulates the backtrace you get when a rails app raises an exception in development mode so that each line in the backtrace is actually a link which will bring up your favorite editor to the appropriate line of the sourcefile. It also adds links to get to the source for the controller, views, etc for the page you are displaying in development mode. I was disappointed that the backtrace links didn't seem to work with Rails 3. So I forked the code on github, and fixed that. This morning I noticed that the backtrace code had been removed from the official code, but there were some other fixes. So I merged the official branch back to my forked version, and it seems to be working. Getting this to work with Rails 3 required a bit of ahem duck-punching of the Rails::BacktraceCleaner, and there arent any tests for this, but it seems to be working. My version is in github in a repo owned by my employer Scimed Solutions , and I've sent a pull request If you're using Rails 3, you might want to check it out, and provide feedback

Original article writen by Rick DeNatale and published on Talk Like A Duck | direct link to this article | If you are reading this article elsewhere than Talk Like A Duck, it has been illegally reproduced and without proper authorization.

Read: Rails-Footnotes Resurrected For Rails 3

Topic: Rails-Footnotes Resurrected For Rails 3 Previous Topic   Next Topic Topic: Ruby In Steel 2 - 2nd beta available

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use