rails-prelaunch-signup icon indicating copy to clipboard operation
rails-prelaunch-signup copied to clipboard

Not adding user to Mailchimp List

Open ike44est opened this issue 12 years ago • 4 comments

Cannot get application to add users to the Mailchimp List. I have configured heroku for api keys as instructed and have modified my .bashrc file.

ike44est avatar Nov 23 '12 19:11 ike44est

I'm getting this same issue. Here's my server error:

Completed 500 Internal Server Error in 6ms

NoMethodError (undefined method include?' for nil:NilClass): app/models/user.rb:57:innew' app/models/user.rb:57:in add_user_to_mailchimp' app/controllers/registrations_controller.rb:6:increate'

itsEconomics avatar Dec 13 '12 16:12 itsEconomics

What do you get when you run heroku info --app <your-app-name>?

paulwithap avatar Apr 04 '13 22:04 paulwithap

Thanks for posting Paul, I forgot to update this. I found the line causing the error was this line in the app/model/user.rb file:

Rails.logger.info("MAILCHIMP SUBSCRIBE: result #{result.inspect} for #{self.email}")

Once I commented it out, no issues.

itsEconomics avatar Apr 06 '13 20:04 itsEconomics

Ah, ok. So this was a different issue than the guy who posted below you. I wonder if he ever figured it out...

On Sat, Apr 6, 2013 at 1:53 PM, Ian Taylor [email protected] wrote:

Thanks for posting Paul, I forgot to update this. I found the line causing the error was this line in the app/model/user.rb file:

Rails.logger.info("MAILCHIMP SUBSCRIBE: result #{result.inspect} for #{self.email}")

Once I commented it out, no issues.

— Reply to this email directly or view it on GitHubhttps://github.com/RailsApps/rails-prelaunch-signup/issues/27#issuecomment-16003817 .

paulwithap avatar Apr 06 '13 20:04 paulwithap