Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
971 views

How do I create new user from scratch

I'm still working on my very first Ruby on Rails project. The latest issue I'm dealing with is the user management system. I tried using Devise but I couldn't get past a certain error so I decided to ...
enfloo's user avatar
  • 1
0 votes
1 answer
49 views

Rails beginner: Model-based User management

I'm developing a web site with Topic, Subtopic and Article models. Users are able to sign up (devise gem) and create topics, subtopics under topics and articles under subtopics. What I want to do is, ...
Enis D.'s user avatar
  • 121
0 votes
1 answer
343 views

Stormpath-rails Implementation Troubles

Please bear with me as I am a newbie at RoR and a first time poster on stackoverflow. I am using the cloud9 ide. I am trying to set up user management with Stormpath, using the stormpath-rails gem, ...
Michael Miller's user avatar
3 votes
2 answers
2k views

ALTER SEQUENCE on rake db:reset db:migrate not working

I'm developing an information system in Ruby on Rails. I want to hand out following uids to users: 0: root 1-499: system services (server-side) 500: system admin 501-999: external apps (apps that ...
lmojzis's user avatar
  • 561
1 vote
0 answers
109 views

How to implement user types with different modules using devise?

I want to use devise to manage my users and my intention is to have one AgencyUser model and one NormalUser model. They both have some attributes/relations in common, but also have some special ...
27leaves's user avatar
  • 191
0 votes
2 answers
153 views

Devise: Associated Model on Sign Up: Can't mass-assign

I setup Devise on User model with its default options. I also have a Company model that needs to add data added whenever a user registers. A company owner setups a User to login with and a Company ...
Max's user avatar
  • 841
0 votes
1 answer
42 views

Letting visitors try out user-only features that write to DB

My site lets people create database entries (which most rails apps do), and I realized that there's a huge drop-off from landing on the site to actually signing up to try it. Basically the service ...
Vlad's user avatar
  • 8,228
0 votes
1 answer
325 views

Using Devise, how can I run Javascript code when a user signs up or logs in via login or cookies?

KISSmetrics says that you should identify the user, via a line of Javascript, in two scenarios: When a user successfully signs up When a user successfully logs in, either through cookies or through a ...
ben's user avatar
  • 29.7k
1 vote
1 answer
283 views

Adding customizable user-groups and ACLs to your web app(s) (the smart way)

I work for a growing company that has several Rails-based SaaS applications. In it's growth, the company is going after larger clients, and one of the features that has come up as a requirement for ...
jmaxyz's user avatar
  • 938
3 votes
1 answer
599 views

Rails: Delete User without losing associations (or other methods of letting Users leave)

I have a Rails application that lets Users create various "judgements", everything is a bit interweaved, we have several classes that are connected to the User class. When I let users "destroy" their ...
slhck's user avatar
  • 38.4k
14 votes
4 answers
7k views

Ruby on Rails User Management Engine/Framework? (with web pages)

There are quite a few post/recommendations re Rails authorization plugins. What I'm asking here however is whether there is a popular/good Ruby on Rails Engine (or framework) that includes the user ...
Greg's user avatar
  • 34.8k