turingschool / curriculum

Turing's main repository of tutorials and projects
385 stars 501 forks source link

Why Sorcery? #346

Closed ngauthier closed 11 years ago

ngauthier commented 11 years ago

In blogger, why sorcery? Never heard of it, does anyone use it?

IMO it would be cooler to do auth from scratch with has_secure_password:

http://railscasts.com/episodes/270-authentication-in-rails-3-1?view=asciicast

It's pretty easy.

steveklabnik commented 11 years ago

https://rubygems.org/gems/sorcery that's a pretty reasonable number of downloads.

We wrote this before that existed, so I'd be :+1: on using it.

ngauthier commented 11 years ago

60k downloads for sorcery. Nearly 3 million for devise. I'd say go devise or from scratch. Preferably scratch.

On Wed, Nov 14, 2012 at 11:43 AM, Steve Klabnik notifications@github.comwrote:

https://rubygems.org/gems/sorcery that's a pretty reasonable number of downloads.

We wrote this before that existed, so I'd be [image: :+1:] on using it.

— Reply to this email directly or view it on GitHubhttps://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10373260.

burtlo commented 11 years ago

Building it from scratch is similar to the other parts of the tutorial where we build it first then show you "easy mode".

steveklabnik commented 11 years ago

I love devise too but @jcasimir hates it.

On Wednesday, November 14, 2012, Nick Gauthier wrote:

60k downloads for sorcery. Nearly 3 million for devise. I'd say go devise or from scratch. Preferably scratch.

On Wed, Nov 14, 2012 at 11:43 AM, Steve Klabnik <notifications@github.com<javascript:_e({}, 'cvml', 'notifications@github.com');>>wrote:

https://rubygems.org/gems/sorcery that's a pretty reasonable number of downloads.

We wrote this before that existed, so I'd be [image: :+1:] on using it.

— Reply to this email directly or view it on GitHub< https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10373260>.

— Reply to this email directly or view it on GitHubhttps://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10374245.

jcasimir commented 11 years ago

I can be flexible. Devise is clearly the mainstream choice -- it's just so brutal to customize or even understand.

On Wed, Nov 14, 2012 at 4:53 PM, Steve Klabnik notifications@github.comwrote:

I love devise too but @jcasimir hates it.

On Wednesday, November 14, 2012, Nick Gauthier wrote:

60k downloads for sorcery. Nearly 3 million for devise. I'd say go devise or from scratch. Preferably scratch.

On Wed, Nov 14, 2012 at 11:43 AM, Steve Klabnik < notifications@github.com<javascript:_e({}, 'cvml', ' notifications@github.com');>>wrote:

https://rubygems.org/gems/sorcery that's a pretty reasonable number of downloads.

We wrote this before that existed, so I'd be [image: :+1:] on using it.

— Reply to this email directly or view it on GitHub<

https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10373260>.

— Reply to this email directly or view it on GitHub< https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10374245>.

— Reply to this email directly or view it on GitHubhttps://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10386804.

steveklabnik commented 11 years ago

I do think we should build it first and use devise for blogger advanced

On Wednesday, November 14, 2012, Jeff Casimir wrote:

I can be flexible. Devise is clearly the mainstream choice -- it's just so brutal to customize or even understand.

On Wed, Nov 14, 2012 at 4:53 PM, Steve Klabnik <notifications@github.com<javascript:_e({}, 'cvml', 'notifications@github.com');>>wrote:

I love devise too but @jcasimir hates it.

On Wednesday, November 14, 2012, Nick Gauthier wrote:

60k downloads for sorcery. Nearly 3 million for devise. I'd say go devise or from scratch. Preferably scratch.

On Wed, Nov 14, 2012 at 11:43 AM, Steve Klabnik < notifications@github.com <javascript:_e({}, 'cvml', 'notifications@github.com');><javascript:_e({}, 'cvml', ' notifications@github.com <javascript:_e({}, 'cvml', 'notifications@github.com');>');>>wrote:

https://rubygems.org/gems/sorcery that's a pretty reasonable number of downloads.

We wrote this before that existed, so I'd be [image: :+1:] on using it.

— Reply to this email directly or view it on GitHub<

https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10373260>.

— Reply to this email directly or view it on GitHub<

https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10374245>.

— Reply to this email directly or view it on GitHub< https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10386804>.

— Reply to this email directly or view it on GitHubhttps://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10387390.

ngauthier commented 11 years ago

Sounds good. I share Jeff's feelings on devise. Customization is hell. I prefer from scratch. On Nov 14, 2012 4:58 PM, "Steve Klabnik" notifications@github.com wrote:

I do think we should build it first and use devise for blogger advanced

On Wednesday, November 14, 2012, Jeff Casimir wrote:

I can be flexible. Devise is clearly the mainstream choice -- it's just so brutal to customize or even understand.

On Wed, Nov 14, 2012 at 4:53 PM, Steve Klabnik <notifications@github.com<javascript:_e({}, 'cvml', 'notifications@github.com');>>wrote:

I love devise too but @jcasimir hates it.

On Wednesday, November 14, 2012, Nick Gauthier wrote:

60k downloads for sorcery. Nearly 3 million for devise. I'd say go devise or from scratch. Preferably scratch.

On Wed, Nov 14, 2012 at 11:43 AM, Steve Klabnik < notifications@github.com <javascript:_e({}, 'cvml', 'notifications@github.com');><javascript:_e({}, 'cvml', ' notifications@github.com <javascript:_e({}, 'cvml', 'notifications@github.com');>');>>wrote:

https://rubygems.org/gems/sorcery that's a pretty reasonable number of downloads.

We wrote this before that existed, so I'd be [image: :+1:] on using it.

— Reply to this email directly or view it on GitHub<

https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10373260>.

— Reply to this email directly or view it on GitHub<

https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10374245>.

— Reply to this email directly or view it on GitHub<

https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10386804>.

— Reply to this email directly or view it on GitHub< https://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10387390>.

— Reply to this email directly or view it on GitHubhttps://github.com/JumpstartLab/curriculum/issues/346#issuecomment-10387563.

jcasimir commented 11 years ago

From scratch is cool with me. Anyone volunteer to write it?

steveklabnik commented 11 years ago

Luckily, that's why we have ActiveModel::HasSecurePassword.

steveklabnik commented 11 years ago

Moved over to #420.