Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Final Assignment #443

Open
kingcons opened this issue Nov 17, 2015 · 2 comments
Open

Final Assignment #443

kingcons opened this issue Nov 17, 2015 · 2 comments
Assignees

Comments

@kingcons
Copy link

In preparation for your final project, this assignment will both get you doing research
and self-directed development as well as growing an existing, complex application.

Extend your reddit apps to include additional functionality and learn a bit about the Rails ecosystem!
Let Rickard and I know when you're confused researching any of the gems so we can answer questions! :)

Full description here: https://github.com/TIY-ATL-ROR-2015-Sep/lectures/blob/master/wk09-advanced-interneting/tue/questions.md

@BrianDunlap89
Copy link

I've gotten devise to correctly create users, send confirmation emails, etc, but I'm getting a very strange error when I try to log in:

AbstractController::DoubleRenderError in Devise::SessionsController#create
Render and/or redirect were called multiple times in this action. Please note that you may only call render OR redirect, and at most once per action. Also note that neither redirect nor render terminate execution of the action, so if you want to exit an action after redirecting, you need to do something like "redirect_to(...) and return".

     # Check for double render errors and set the content_type after rendering.
    def render(*args) # nodoc:
      raise ::AbstractController::DoubleRenderError if self.response_body
      super
    end

I've commented out my registrations and sessions controllers, so I'm not quite sure where the interference is coming from.

In any case, here's the repo: https://github.com/BrianDunlap89/liftr

I'm going to keep messing with it, but I'm stepping back from it for awhile to decompress.

@BrianDunlap89
Copy link

Because I was having trouble with devise, I went ahead and cloned the original repo so I could implement some other gems. I've currently got Bullet up and working, and I've been messing around making crappy (n+1) requests to see what kind of logs they produce. For some reason, the logs aren't feeding into my rails server logs (which they're apparently supposed to do), so I'm gonna keep messing with that for awhile too.

Anywho, here's the duplicated repo that includes Bullet: https://github.com/BrianDunlap89/liftr-clone

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants