heroku_user
Hello, In looking for a dead-simple auth option for my heroku app, I noticed this page: http://blog.heroku.com/archives/2008/1/14/heroku_user/ I tried accessing heroku, and I wasn't able to get it working. I get a: NameError (undefined local variable or method `heroku_user' for #FilmViewingsController:0x2b17f842faa0): app/controllers/application_controller.rb:6:in `authorized?' app/controllers/film_viewings_controller.rb:39:in `edit' Is heroku_user something that's still available within heroku apps? Is there anything I have to do to enable it? Is it called something else now? I can't seem to find any indication that it's been removed as a feature, though I imagine heroku's platform has seen a lot of change since 2008. -Jdbk -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: heroku_user
It looks like Heroku Users are used to authenticate users who already have an account with Heroku and are allowed to check out the application's source (that's the impression I get from skimming through the article). If you're looking for a commonly used, standard authentication method, Authlogic and Devise seem to be the most commonly used gems for the task. You can find tutorials on them both at railscasts.com On Thu, Oct 21, 2010 at 10:28 AM, jundai bates.kobashig...@gmail.comwrote: Hello, In looking for a dead-simple auth option for my heroku app, I noticed this page: http://blog.heroku.com/archives/2008/1/14/heroku_user/ I tried accessing heroku, and I wasn't able to get it working. I get a: NameError (undefined local variable or method `heroku_user' for #FilmViewingsController:0x2b17f842faa0): app/controllers/application_controller.rb:6:in `authorized?' app/controllers/film_viewings_controller.rb:39:in `edit' Is heroku_user something that's still available within heroku apps? Is there anything I have to do to enable it? Is it called something else now? I can't seem to find any indication that it's been removed as a feature, though I imagine heroku's platform has seen a lot of change since 2008. -Jdbk -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: heroku_user
That article references our old Heroku Garden platform. The current platform is based on standards, so your best bet is to use one of the libraries mentioned like Devise. Oren On Sun, Oct 24, 2010 at 1:34 PM, Abel Tamayo abel.tam...@gmail.com wrote: It looks like Heroku Users are used to authenticate users who already have an account with Heroku and are allowed to check out the application's source (that's the impression I get from skimming through the article). If you're looking for a commonly used, standard authentication method, Authlogic and Devise seem to be the most commonly used gems for the task. You can find tutorials on them both at railscasts.com On Thu, Oct 21, 2010 at 10:28 AM, jundai bates.kobashig...@gmail.comwrote: Hello, In looking for a dead-simple auth option for my heroku app, I noticed this page: http://blog.heroku.com/archives/2008/1/14/heroku_user/ I tried accessing heroku, and I wasn't able to get it working. I get a: NameError (undefined local variable or method `heroku_user' for #FilmViewingsController:0x2b17f842faa0): app/controllers/application_controller.rb:6:in `authorized?' app/controllers/film_viewings_controller.rb:39:in `edit' Is heroku_user something that's still available within heroku apps? Is there anything I have to do to enable it? Is it called something else now? I can't seem to find any indication that it's been removed as a feature, though I imagine heroku's platform has seen a lot of change since 2008. -Jdbk -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.comheroku%2bunsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/heroku?hl=en. -- You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to her...@googlegroups.com. To unsubscribe from this group, send email to heroku+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/heroku?hl=en.
Re: heroku_user thinks I can_edit? is false
Hi Alex, This should be fixed now. Please drop me a line if you continue to experience problems with this. /Morten On Jun 12, 2008, at 10:03 AM, Alex Wayne wrote: I have an app thats been using the heroku_user construct for simple administration login. This used to work great, until I found that I was no longer granted admin privileges as of yesterday. If I inspect the heroku_user object, I see that @can_edit is false. The email of that user clearly matches the email I am using to login in, and I can edit the code and do other things in the app's control panel, but heroku_user still thinks I am not allowed to edit. On a, what might be related note, I can no longer push code to my git repo either. I get a Permission denied (publickey). error now. Any ideas? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---
heroku_user
I've tried out the simple authentication built in to Heroku (using heroku_user), and it works great online, but when I pull it down to my local machine, it obviously fails due to the missing heroku_user command. Has anyone rigged up some sort of heroku_user mock? I played with it for a little bit today, but my rails chops are *very* rusty, and I couldn't get anything working. Thanks. Tobin --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Heroku group. To post to this group, send email to heroku@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/heroku?hl=en -~--~~~~--~~--~--~---