Skip to content

Instantly share code, notes, and snippets.

View dmorley's full-sized avatar

David Morley dmorley

View GitHub Profile
event=error error_class=ActionView::Template::Error error_message='undefined method `message' for nil:NilClass' orig_error_message='undefined method `message' for nil:NilClass'annotated_source=' 53:
54: - if @photo.status_message_id
55: %p
56: = markdownify(@photo.status_message.message)
57:
58: %p
59: - for photo in @additional_photos
' app_backtrace='app/views/photos/show.html.haml:56:in `_app_views_photos_show_html_haml__451285523_23652682676100_0';app/controllers/photos_controller.rb:163:in `show';lib/chrome_frame.rb:39:in `call''
event=error error_class=ActionView::MissingTemplate error_message='Missing template status_messages/create with {:formats=>[:js, :html], :locale=>[:en, :en], :handlers=>[:rxml, :haml, :builder, :rjs, :erb, :rhtml]} in view paths "/root/diaspora/app/views", "/root/diaspora/vendor/plugins/mobile-fu/app/views", "/usr/local/lib/ruby/gems/1.8/bundler/gems/devise_invitable-85abb5fef4ab/app/views", "/usr/local/lib/ruby/gems/1.8/gems/devise-1.1.3/app/views"' app_backtrace='app/controllers/status_messages_controller.rb:60:in `create';app/controllers/status_messages_controller.rb:59:in `create';lib/chrome_frame.rb:39:in `call''
@dmorley
dmorley / gist:781093
Created January 15, 2011 17:59
aws 2.4.0
Starting server on 0.0.0.0:3002 ...
/usr/local/lib/ruby/gems/1.8/gems/aws-2.4.0/lib/awsbase/awsbase.rb:33: undefined method `require_relative' for Aws:Module (NoMethodError)
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:596:in `new_constants_in'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:225:in `load_dependency'
from /usr/local/lib/ruby/gems/1.8/gems/activesupport-3.0.3/lib/active_support/dependencies.rb:239:in `require'
from /usr/local/lib/ruby/gems/1.8/gems/aws-2.4.0/lib/aws.rb:18
from /usr/local/lib/ruby/gems/1.
@dmorley
dmorley / gist:777042
Created January 12, 2011 22:40
receive
NoMethodError (undefined method `owner_id' for nil:NilClass):
app/controllers/publics_controller.rb:52:in `receive'
lib/chrome_frame.rb:39:in `call'
@dmorley
dmorley / gist:772966
Created January 10, 2011 16:13
counter
using this jquery addon:http://jqeasy.com/jquery-character-counter/
Using this startup:
<script type="text/javascript">$(document).ready(function(){$('#status_message_message').jqEasyCounter({'maxChars': 1000,'maxCharsWarning': 140});});</script>
@dmorley
dmorley / gist:770929
Created January 8, 2011 15:50
public fail
Resque::NoQueueError (Jobs must be placed onto a queue.):
lib/postzord/dispatch.rb:51:in `deliver_to_hub'
lib/postzord/dispatch.rb:56:in `deliver_to_services'
lib/postzord/dispatch.rb:30:in `post'
app/models/user.rb:145:in `dispatch_post'
app/controllers/status_messages_controller.rb:30:in `create'
lib/chrome_frame.rb:39:in `call'
NoMethodError (undefined method `push_to_aspects' for #<Person:0x2aca24535c28>):
app/models/user.rb:89:in `method_missing'
app/models/user.rb:148:in `dispatch_post'
app/controllers/status_messages_controller.rb:33:in `create'
lib/chrome_frame.rb:39:in `call'