Skip to content

Instantly share code, notes, and snippets.

@goyox86
Created May 2, 2011 16:34
Show Gist options
  • Save goyox86/951886 to your computer and use it in GitHub Desktop.
Save goyox86/951886 to your computer and use it in GitHub Desktop.
ActionView::TemplateError (undefined method `signed_in_at' for #<User:0x10900d778>) on line #3 of app/views/shared/_welcome_message.html.haml:
1:
2:
3: - if current_user.sign_in_count == 1 && Time.now - current_user.signed_in_at < 60
4: :javascript
5: $(document).ready(function() {
6: $.nyroModalManual({
app/views/shared/_welcome_message.html.haml:3:in `_run_haml_app47views47shared47_welcome_message46html46haml_locals_object_welcome_message'
haml (3.0.25) rails/./lib/haml/helpers/action_view_mods.rb:11:in `render'
haml (3.0.25) lib/haml/helpers.rb:90:in `non_haml'
haml (3.0.25) rails/./lib/haml/helpers/action_view_mods.rb:11:in `render'
app/views/organizations/show.html.haml:13:in `_run_haml_app47views47organizations47show46html46haml'
haml (3.0.25) rails/./lib/haml/helpers/action_view_mods.rb:13:in `render'
haml (3.0.25) rails/./lib/haml/helpers/action_view_mods.rb:13:in `render'
compass (0.11.1) lib/compass/app_integration/rails/actionpack2/action_controller.rb:7:in `process'
warden (0.10.7) lib/warden/manager.rb:35:in `call'
warden (0.10.7) lib/warden/manager.rb:35:in `call'
warden (0.10.7) lib/warden/manager.rb:34:in `catch'
warden (0.10.7) lib/warden/manager.rb:34:in `call'
haml (3.0.25) rails/./lib/sass/plugin/rack.rb:41:in `call'
middleware/flash_session_cookie_middleware.rb:21:in `call'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment