Ruby on Rails Community Forum

How to use Uppy with ActiveStorage Discussion

37
General
Thanks for this!
Brian Carpenter replied

fdsfds

0
General
Solved

Properly adding Turbolinks 5 event handling

0
General
Here's what I understand: * Turbolinks preserves the `window` and `document` from request to request * As a result, I should add click/change listeners to the window/document once when the js is f...

How can I test sortableJs ? (RSpec)

0
Testing
I made a drag and drop to-do-list with SortableJs and i'm trying to test the drag-n-drop with RSpec/Selenium/Capybara if the request is sent onEnd. I'm able to do the drag n drop using selenium `dr...
paul lahana posted

learning ruby

1
General
Hi) probably I will ask a banal question, but I'm wondering if I can master ruby at a good level, which will allow me to get a position in the middle of the developer, against the background of th...

Create a User Profile after saving a Devise User

10
Gems / Libraries
1. When the user registers, do you want to have them fill out some of the profile information as well? If so, then I would recommend updating the Devise form to be a nested form. That way you creat...
Alex Ventura replied

How to deploy Rails to a Staging Environment Discussion

1
General
Chris, Great video as usual. One question: when using custom environments, how do you handle Gem's that customize behavior based on Rails.env? For example: Rails.env.production? ? prod_thing : n...
Eitán replied

Mitigating Spammers with Recaptcha Discussion

0
General
Nice episode. But where do I find the source code?

MushroomObserver.org Now Hiring

0
General

How do I fork turbo and use it as my turbo version

1
Rails
How do I fork turbo and use it as my turbo version in a rails 6 app, I tried linking to the github of my forked turbo repo in package.json but it gave me an error couldnt find hotwire
Solved

Can anyone suggest me best Ruby on Rails 5 book?

8
Rails
I have watched few video tutorials of gorails and codeschools. I think it will be better if I read a book. Can anyone suggest me a ruby on rails 5 book which will helpful for beginner? 

Row-level Multitenancy with ActsAsTenant Discussion

8
General
Of all the multi tenancy methods you have used, which one do you think is the best. I know it depends, but I need your opinion, which one would your mind start thinking of?
bradley replied

Action cable - How to delete message in chatroom that belongs to current user?

0
Rails
I've tried to use if else statement, and display a link next to the message, when I submit a message, the link won't display, and I have to refresh the page. It seems like if else statement doesn't...

How to set correct host for action-text-attachment figure img src?

0
Rails
My rails 6 app is set up with amazon s3 with a react front-end. I serve the react front-end with json and in my json I have Post model with a rich content body. In the body I have added an image. W...

Rails for Beginners Part 12: Validations Discussion

10
General
I tried copying this regex "\A[^@\s]+@[^@\s]+\z" to https://rubular.com/ but it aren't working until I remove the \A and \z making this [^@\s]+@[^@\s]+ before it could work, any reason for that?
Jerry Lupo replied

User Referral Program From Scratch Discussion

23
General
Just the thing I was needed for a current project, as usual, perfect timing Chris !
Ajay Mishael replied

How can compound csv file datas in ruby on rails oop

0
Ruby
https://stackoverflow.com/questions/68876726/how-can-compound-csv-file-datas-in-ruby-on-rails-oop
Alper Efe Şahin posted

I want to use devise gem for normal authentication and api authentication with devise-jwt gem. Is it possible?

1
Rails
Hi huys! I have an problem with devise-jwt gem. I have an default rails application. I want to use devise gem for normal authentication and api authentication with devise-jwt gem. But they can no...
Carlos Vazquez replied
Solved

Price Discount

0
General
hi.. I would like to have an anual subscriptions, 200 usd a year is a number for me, do you have some discount available for Argentina's student ? Thanks Pablo
Pablo Rodriguez posted

Anchors being ignored when added to redirect_to path in controller

2
Rails
I feel I am missing something fundamental, or maybe just silly, when it comes to this issue. I am utilizing linking to anchors in most places in an app I am building and all is working well with l...
Miri Lama replied
Solved

Learning Ruby on Rails? Join our newsletter.

We won't send you spam. Unsubscribe at any time.