Search Results for "user-badges-features"
Lessons
Forum Threads
User Onboarding Progress Bar Discussion
Finally went through this in Rails 6, thanks again...didn't think it would be so cut and dried. Now that same HTML div tag can be generated as follows:
```
tag.div class: ["fa-check", color]
...

9
General
Pull data from another table in a lookup
Sweet, I'll have to play around with it, I love a good editor! :)
Did you ever mess with Summernote? http://summernote.org/examples/#hint-for-mention
They support mentions out the box it looks ...

54
Rails
Search Filters with ElasticSearch Aggregations Discussion
To anyone looking for more info about how to work with associated models, here is:
Item.rb (model):
```
# Relations
belongs_to :brand
## many-to-many relations between Items and Text...

22
General
With Hotwire and a long-running background job, how can I show a message indicating that data is loading?

2
Rails
Rotating Rails Production Logs with LogRotate Discussion
It's because of the `delaycompress` line, which says to only compress on the second iteration. If you run `sudo /usr/sbin/logrotate -f /etc/logrotate.conf` (on non empty logfiles) the logs will be ...

21
General
Improving In-App Notifications Discussion
Just the answer I was looking for!

25
General
User model guidance
Hey Stephen!
The way I do it in JumpstartRails.com is we have a single User everyone logs in as and they have multiple Accounts they're associated with.
Each account could have a type of Coach, ...

2
Rails
User logoff/clear session
Hey Dainius,
That looks like it would work fine to me. What's happening? You're still logged in after it redirects you?
You're going to want to change that to a DELETE request though, otherwise p...

2
General
User 'folders' for uploaded files?
Is there any best practice / tutorial for organizing user uploaded files?
In my app I have an 'uploadable' polymorphic structure where the user can upload files to pretty much any model etc.
...

1
Rails
User Avatars with ActiveStorage Discussion
Hello, I am new in this, studying about Active Storage I want something like I can create recipe and in recipe model I have one image to store I understood in this video about Active Storage but do...

14
General
User-customizable roles? (best practices, ideas, examples)
I think you should define some roles upfront and let the user choose from those.
Either you do a simple hierarchy based like `user < admin < superadmin` etc. Where the `admin` has the same...

2
Rails
User Referral Program From Scratch Discussion
Thanks for the video Chris. Would you do this in a different way if there were multiple levels to the referral.
For example:
A refers B
B accepts
B refers C
C accepts
A gets rewarded for both, B...

24
General
User Interaction With Ember Discussion
when you create rails project,you should use rails new project_name --api
it will not have verify_authenticity_token

5
General
User Authentication with Devise | GoRails
simple procedure attempts!

28
General