« Return to Thread: edge rails: `scan': undefined method `empty?' for nil:NilCla

Re: edge rails: `scan': undefined method `empty?' for nil:Ni

by yitzhakbg :: Rate this Message:

Reply to Author | View in Thread


Is there any way to exclude certain template file types (or non-
template files) from being preloaded, say by their file type?
Specifically, I was thinking of jpeg, swf files, etc. which we do not
(!) wish to be loaded/parsed at startup time.
Could there be a configuration option which handles this?

On Nov 30 2008, 7:38 am, Roger Pack <rails-mailing-l...@...>
wrote:

> > Now I know how to solve the problem (by removing the thenon-.html.erb
> > files), but I'm wondering why there is a difference between 2.1.2 and
> >2.2.2.
>
> Theoretically it was to allow for all theerbtemplates to be loaded up
> once at load time [it just happens to attempt this weirdness withnonerbfiles, too...I'm not sure if it's a bug or not...I believe I filed a
> report of it on lighthouse].
> Cheers!
> -=R
> --
> Posted viahttp://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@...
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

 « Return to Thread: edge rails: `scan': undefined method `empty?' for nil:NilCla