Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Thanks, Orlando! This seems to be causing a problem with code I have in `app/controllers/static_pages_controller.rb` (as best I can tell). I have this there:
- class StaticPagesController < ApplicationController
- def home
- @groups = Group.all
- @categories = @groups.select("DISTINCT(CATEGORY)")
- end
- end
- When I call `@categories` in my view, `self.email = user.email` raises the error `missing attribute: user_id`. Any ideas?
- Jeff
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement