Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Rails.public_path evaluates to a String instead of a Pathname

#4162

Rails.public_path evaluates to a String instead of a Pathname. Since Rails.env evaluates to a Pathname, it would make sense to make this behavior consistent between the two.

I actually found out about this in the article "The Rails Module (in Rails 3)" by Nick Quaranto (http://litanyagainstfear.com/blog/2010/02/03/the-rails-module/) and figured it would be worth posting a ticket for it here.

Reported by anonymouse · March 12th, 2010 @ 03:43 PM

State: duplicate
Milestone: none
Assigned to: nobody
Importance: Low