My gem file reads thus:

gem "activerecord", "3.0.3"
gem "camping", "2.1"

gem "nokogiri", "1.4.4"
gem "rest-open-uri", "1.0.0"
gem "sqlite3-ruby", "1.3.2"

gem "tilt", "1.2.1"
gem "haml", "3.0.25"

Will get the ruby version asap.

Love the idea of adding the method! Great!

On Friday, January 21, 2011, Magnus Holm <[email protected]> wrote:
> Hm…
>
> Like Dave mentioned, could you give us the versions you're using? For
> both Camping, Rack, Tilt, Haml and Ruby? Also, you could add this
> little snippet to "force" a backtrace:
>
>   class NilClass
>     def to_sym
>       puts "NilClass#to_sym:"
>       caller.each do |line|
>         puts "  #{line}"
>       end
>       raise
>     end
>   end
>
> Maybe that gives you any clues!
>
> // Magnus Holm
>
>
>
> On Thu, Jan 20, 2011 at 06:14, adam moore <[email protected]> wrote:
>> Hello there!
>>
>> Been loving getting stuck in & creating bits & bobs with this
>> wonderful little framework. Had a go at making a listing of a bunch of
>> opening events which occur in my current city of residence - Tokyo.
>> Unfortunately, although the app seemed to be fine running locally (in
>> production), once pushed to Heroku I began to see intermittent
>> occurrences of:
>>
>> !! Unexpected error while processing request: undefined method
>> `to_sym' for nil:NilClass
>>
>> just as the app reached rendering the (haml) view.
>>
>> The problem is, there is no stack trace which is spit out at this
>> point - and any puts I have added to the view to check things are ok,
>> are never reached. I have a hunch that this may be to do with haml /
>> tilt not starting up in time but was wondering if there's a way to
>> make production camping apps more "verbose", or if this is needed at
>> all.
>>
>> Thank you all.
>>
>>
>> --
>> ----=^.^=---
>> _______________________________________________
>> Camping-list mailing list
>> [email protected]
>> http://rubyforge.org/mailman/listinfo/camping-list
>>
> _______________________________________________
> Camping-list mailing list
> [email protected]
> http://rubyforge.org/mailman/listinfo/camping-list

-- 
----=^.^=---
_______________________________________________
Camping-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/camping-list

Reply via email to