Skip to content

Instantly share code, notes, and snippets.

@wylkon
Created March 22, 2011 14:26
Show Gist options
  • Select an option

  • Save wylkon/881286 to your computer and use it in GitHub Desktop.

Select an option

Save wylkon/881286 to your computer and use it in GitHub Desktop.
NoMethodError in Admin/luggages#edit
Showing /Users/wylkon/Projects/Tam/tam_tips/trunk/app/views/admin/luggages/_form.html.haml where line #2 raised:
undefined method `highlight' for #<Luggage:0x80b6a78>
Extracted source (around line #2):
1: = simple_form_for [:admin, @luggage] do |f|
2: = f.input :highlight
3: = f.input :name
4: = f.input :subject
5: = f.label :article
Trace of template inclusion: app/views/admin/luggages/edit.html.haml
Rails.root: /Users/wylkon/Projects/Tam/tam_tips/trunk
NoMethodError in Admin/tips#edit
Showing /Users/wylkon/Projects/Tam/tam_tips/trunk/app/views/admin/tips/_form.html.haml where line #2 raised:
undefined method `highlight' for #<Tip:0x64d1358>
Extracted source (around line #2):
1: = simple_form_for [:admin, @tip], :html => { :multipart => true } do |f|
2: = f.input :highlight
3: = f.input :name
4: = f.input :description
5: = f.association :category
NoMethodError in Admin/luggages#new
Showing /Users/wylkon/Projects/Tam/tam_tips/trunk/app/views/admin/luggages/_form.html.haml where line #2 raised:
undefined method `highlight' for #<Luggage:0x63e8130>
Extracted source (around line #2):
1: = simple_form_for [:admin, @luggage] do |f|
2: = f.input :highlight
3: = f.input :name
4: = f.input :subject
5: = f.label :article
Trace of template inclusion: app/views/admin/luggages/new.html.haml
Rails.root: /Users/wylkon/Projects/Tam/tam_tips/trunk
NoMethodError in Admin/tips#new
Showing /Users/wylkon/Projects/Tam/tam_tips/trunk/app/views/admin/tips/_form.html.haml where line #2 raised:
undefined method `highlight' for #<Tip:0x639f520>
Extracted source (around line #2):
1: = simple_form_for [:admin, @tip], :html => { :multipart => true } do |f|
2: = f.input :highlight
3: = f.input :name
4: = f.input :description
5: = f.association :category
Unknown action
The action 'create' could not be found for Admin::TravellerTipsController
NoMethodError in Admin/luggages#edit
Showing /Users/wylkon/Projects/Tam/tam_tips/trunk/app/views/admin/luggages/_form.html.haml where line #2 raised:
undefined method `highlight' for #<Luggage:0x5550eb0>
Extracted source (around line #2):
1: = simple_form_for [:admin, @luggage] do |f|
2: = f.input :highlight
3: = f.input :name
4: = f.input :subject
5: = f.label :article
Trace of template inclusion: app/views/admin/luggages/edit.html.haml
Rails.root: /Users/wylkon/Projects/Tam/tam_tips/trunk
NoMethodError in Admin/unpublisheds#edit
Showing /Users/wylkon/Projects/Tam/tam_tips/trunk/app/views/admin/unpublisheds/index.html.haml where line #10 raised:
You have a nil object when you didn't expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.each
Extracted source (around line #10):
7: %th.actions
8:
9: %tbody
10: - for tip in @tips
11: %tr{ :class => cycle(:odd, :even) }
12: %td= tip.name
13: %td.actions
Rails.root: /Users/wylkon/Projects/Tam/tam_tips/trunk
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment