Authentication and Registration Generators ...

13 views
Skip to first unread message

Darren Jones

unread,
Feb 21, 2025, 11:38:52 AMFeb 21
to North West Ruby User Group (NWRUG)
Hi everyone,

Thanks for letting me speak last night and sorry for having to rush off.

Had some nice discussions in the pub afterwards about whether or not registration pages are needed, but I for one find them useful to have ... so after a nudge from Caius, I made a gem with a generator that makes the files I went through last night.

So not if you add gem registration_generator to your GemFile you should be able to run:
rails g authentication
followed by:
rails g registration

If anyone can try it out and give any feedback, I'd really appreciate it.

Cheers,

Daz

Darren Jones

unread,
Feb 21, 2025, 11:55:50 AMFeb 21
to North West Ruby User Group (NWRUG)
ps - if anyone want to see how the code works, there's a great tutorial to build your own auth, almost the same as what the generator creates here:
Reply all
Reply to author
Forward
0 new messages