RailsCasts Pro episodes are now free!

Learn more or hide this

Asher Cohen's Profile

GitHub User: Asherlc

Site: asherlc.com

Comments by Asher Cohen


Can you add the Coffeescript to the show notes?


What happens in the following cases?

  • User registers normally, then tries to log in via Omniauth
  • User registers via Omniauth, then tries to log in normally

I've got my app setup to have multiple organizations, and multiple pages per organization (identified via the subdomain). Is it possible to have FriendlyId check for uniqueness only on a per-user basis?

Thus that there can be multiple /home pages, but are unique within a given organization.