When writing Ruby you have the option to end the file early with
__END__. Anything after the __END__ is assigned to a constant called
DATA which is available within the file.

I recently tried using this in Rails and it didn't work. Instead I get
an uninitialized constant exception. Anyone know why?

Has it been disabled in Rails?

thanks

Gavin
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to