Skip to content

Instantly share code, notes, and snippets.

@meltzerj
Created May 7, 2011 08:52
Show Gist options
  • Select an option

  • Save meltzerj/960335 to your computer and use it in GitHub Desktop.

Select an option

Save meltzerj/960335 to your computer and use it in GitHub Desktop.
ActiveRecord::HasManyThroughSourceAssociationNotFoundError in Videos#index
Showing /rubyprograms/dreamstill/app/views/videos/index.html.erb where line #12 raised:
Could not find the source association(s) :notification or :notifications in model UserNotification. Try 'has_many :notifications, :through => :user_notifications, :source => <name>'. Is it one of :user?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment