Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Should not require the user model to have the attribute "username" #129

Open
daronco opened this issue Jun 23, 2016 · 0 comments
Open

Should not require the user model to have the attribute "username" #129

daronco opened this issue Jun 23, 2016 · 0 comments

Comments

@daronco
Copy link
Member

daronco commented Jun 23, 2016

The gem is requiring the user model of the application that uses the gem to have a method/attribute named username, but it shouldn't. The specific place where it's required is at:

logger.info "Meeting created: id: #{@room.meetingid}, name: #{@room.name}, created_by: #{bigbluebutton_user.username}, time: #{Time.now.iso8601}"

There might be other places, though.

There are configurable attributes in the gem to specify the name of the attribute from where the username should be taken, see

# Name of the attribute of a user that defines his name/username.

@daronco daronco added this to the v2.1.0 milestone Jun 23, 2016
@daronco daronco changed the title Should not require the user model to have the attribute username Should not require the user model to have the attribute "username" Jun 23, 2016
@daronco daronco modified the milestones: v2.1.0, v2.2.0 Jul 22, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant