Devise User with separate Profile

3
Gems / Libraries
Hi, i am using Devise and i want to a separate profile for each user with additional informations like address, phone, mobile, ... After Signup, the user should be forced to fill out his profile. ...
Pat James replied

lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:17:in `require': cannot load such file -- sass

0
Gems / Libraries
Hello GoRail Fam' After trying to update an old Rails app, including Ruby, i got an error when i tried to launch a server, launch a rails update app and much more commands. /Users/basile/.rbenv/v...

How can I fix this in my ruby on rails, I installed all the requirements in the the ROR?

0
Gems / Libraries
C:/Ruby31-x64/lib/ruby/gems/3.1.0/gems/tzinfo-2.0.5/lib/tzinfo/data_source.rb:159:in `rescue in create_default_data_source': tzinfo-data is not present. Please add gem 'tzinfo-data' to your Gemfile...

rails5 + heroku + cloudfront + fonts

7
Gems / Libraries
I tried to configure a rails5 app (deployed on heroku) with cloudfront for assets and fonts. I could make it work for the assets, then I tried to add the config for the fonts as well, but I just sc...
Dev replied

pghero

1
Gems / Libraries
Hi Chris, Back, at the end of Episode 173, you said: *"And in the next episode, I'd like to cover a gem called pghero which is a performance dashboard for rails and for postgreSQL, that can sugges...
Brandon Elfring replied

Devise: Separate pages for account update and password

7
Gems / Libraries
Nothing too fancy. `users/edit` comes from Devise. `password/edit` is a passwords controller I added.
Fabiana Ramos replied
Solved

User Profile with devise

2
Gems / Libraries
Hello I'm new to rails and I am trying to work with the has_one association. I'm using Devise for authentication. I was each user to have a profile (which will include their address and some other ...
Solved

Does anyone happen to know how to get wicked_pdf working on Alpine Linux 3.15+ (because Docker)

0
Gems / Libraries
My problem is that Alpine dropped support for wkhtmltopdf with version 3.14 and all of the Ruby 3+ Docker images for Alpine are 3.15+ and the wkhtmltopdf-binary gem hasn't been updated since 2016....
Lee McAlilly posted

TailwindCSS Stimulus Components Gem not working in new rails 7 application

2
Gems / Libraries
Attempting to use the following gem in a new rails application: https://github.com/excid3/tailwindcss-stimulus-components Main reason is that the new supported tailwind gem that you can install di...
Bryan Beshore replied

Tutorials on recommendation engines

3
Gems / Libraries
Hi Chris, I searched for videos on recommendation itens but couldn't find any. We run a real estate website and would love to provide similarities recommendations (like "users that viewed this pr...

How do I connect multiple devise apps for a single login to any of the apps?

11
Gems / Libraries
For a rails/devise project I'm trying to figure out how to have the same devise login (email/password) work for multiple apps on different domains. I can't figure out if this would that be conside...
Jerome . replied

Devise: current_user not saving to @forum_post.user

1
Gems / Libraries
I'm currently having an issue when I create posts, I always seem to get undefined method "username" or "email", but when using current_user.username or current_user.email it will display just fine....

Runaway Memory Leak/Usage with esbuild reload

2
Gems / Libraries
After watching this episode - https://gorails.com/episodes/live-reload-esbuild-rails - we implemented the live reload functionality across several of our apps. Overwhelming it's amazing! However,...
Craig Kaminsky replied
Solved

Error with Noticed Gem

1
Gems / Libraries
I am following the tutorial exactly as Chris describes, but when I try to run rails c and create a new CommentNotification, I get a NameError uninitialized constant CommentNotification. A bit confu...

Authentication in 2021

2
Gems / Libraries
Devise seems to be very popular among the Rails communities and I was wondering why Auth0, Okta, Cognito (AWS) or Firebase, etc. were not that much used to authenticate and manage users in Rails ap...

How to display multi-day events in SimpleCalendar?

20
Gems / Libraries
Hi there, Not sure if i've missed something, but i'm not able to get multi-day events to show over the date range using SimpleCalendar. From what I've read on the Gem homepage, I've passed in the...
Nikodem Gorak replied

How do I implement my own buttons and functions for Trix

4
Gems / Libraries
Hey, i want to have the possibility to add more functionality in my text editor trix. I think about basic stuff as centering text etc. and more advanced stuff like post spotify songs or twitter fe...
freddyK1 replied

JSP rails 7 acts-as-taggable-on couldn't find a valid model

1
Gems / Libraries
With the last version of JSP ( rails 7) the compatible gem is "acts-as-taggable-on", "~> 5.0" And after done the migration and try acts_as_taggable_on :tags and acts_as_taggable I get this erro...
brobles replied
Solved

Stimulus Reflex Lifecycle events

2
Gems / Libraries
could check this gist? it's an app wich use Stimulus Reflex. It's about a pagination reflex, the thing is i need to hide the spinner when `afterReflex()` callback is executed, but sometimes it does...
keithanderson replied
Solved

Impossible to install Nokogiri - OSX Mojave 10.14.2

10
Gems / Libraries
Hey Everyone, **Since the recent update (10.14.2) Nokogiri gem cannot be installed in my app.** When I run `bundle install` , I get the following error: ``` ./siteconf20190109-70456-1diyett.rb e...
fopps replied

Want to stay up-to-date with Ruby on Rails?

Join 89,509+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.