search for: helloooooo

Displaying 1 result from an estimated 1 matches for "helloooooo".

Did you mean: hellooooo
2009 Sep 11
2
Anyone know why __END__ and DATA don't work in Rails?
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