[Rails] Re: RJS templates outputting bloated code?

Chad Fowler chadfowler at gmail.com
Sat Apr 1 00:36:12 GMT 2006


On 3/31/06, Yariv Sadan <yariv at pando.com> wrote:
> > Hi.  This behavior only exists (by default) in development.  Look at
> > your config/environments/development.rb file and you should see a
> > setting for RJS debug.  This will help you during development but it
> > shouldn't show up on production.
>
> Excellent! I knew you guys have probably thought of this :) Keep up the
> great work!

Well, I can't personally claim to have thought of anything other than
asking Sam Stephenson recently about the best ways to debug RJS, which
is when he told me about this feature :)

--
Chad Fowler
http://chadfowler.com
http://pragmaticprogrammer.com/titles/fr_rr/ (Rails Recipes - In Beta!)
http://pragmaticprogrammer.com/titles/mjwti/ (My Job Went to India,
and All I Got Was This Lousy Book)
http://rubycentral.org
http://rubygarden.org
http://rubygems.rubyforge.org (over one million gems served!)


More information about the Rails mailing list