-
Type: Task
-
Resolution: Done
-
Affects Version/s: None
-
Component/s: None
-
None
I'm writing a relatively large project right now and got an error where I am having the following relations:
Project
belongs_to :user
has_many :bubbles
User
has_many :projects
has_many :bubbles
Bubble
belongs_to :user
belongs_to :project
In my ProjectsController I am loading a project (projects#show) and try to display it, it's bubbles and user info on one page (with partials). After project.bubbles is loaded all the "Bubbles" are not able to load the associated user.
I stripped down my project and uploaded it: http://xnorfz.de/~halfdan/MyApp.tar.gz
1. Untar the archive
2. bundle
3. rake db:seed
4. rails s
5. http://localhost:3000 and click on a project on the right side. => Error