Ruby on Rails Community Forum

Ruby on rails - what is the best way to add social authentication in the project?

4
Rails
I want to add social authentication in my project like user can also login with Facebook, Github, and Google. I have already added the simple authentication with the devise gem. And now I want to ...

Workflow for TDD/BDD on Rails ?

1
Testing
Hi, I'd like some feedback if possible about the workflow of TDD/BDD on a Rails app. I was doing a research the whole weekend trying to find some good examples on how to do porperly TDD on my Rails...

Querying Named Scopes Across Models with ActiveRecord::Relation#merge Discussion

8
General
Thank you for sharing, Chris, really awesome feature.
ekartzpoot replied

MongoDb Integration

0
Ruby
It would be great if you can make video on MongoDB use in rails and make application like url-shortener with it

How would you implement an authorization system in Rails?

0
Tips
Let's say you have users-or-members in your application and each user has his/her own contacts. How would you implement the functionality to allow user1 to add/modify contacts for user2, but not de...

Learning-path next release

0
General
Hi there, I wanted to ask you when are you planning to release the next series of learning-path course and how often do you plan to release them? Thank you for such a great course. All the best,...
Rafal Siepak posted

How do I import recurring_select in Rails 7?

3
General
I add the gem in rails 7 and worked, the thing is, when I'm using it in the form, it doensn't pop up the modal, the js isn't working, In application.js I imported like import "recurring_select" i...
Robert Ault replied

Rails for Beginners Part 6: The Root Route Discussion

2
General
I created a guide for myself based on this video: https://paper.dropbox.com/doc/6-How-to-add-the-root-route--BFkHqiwUkuyuvDGJuGbMgiZqAQ-snEyAhwuCkHFOSGR2s0f6

rake db:create fails while following Windows 11 Rails setup guide

6
Rails
As the title states, while following the Windows 11 Rails setup guide I found that whenever I run `rake db:create` it fails with the following error: ``` PG::ConnectionBad: could not connect to ser...
Freibuis replied

Setup Ubuntu 22.10 Kinetic Kudu Discussion

2
General
I would use rvm or rbenv to manage ruby versions on per projects with the standard `.ruby-version` rvm is a heavier beast compared to rbenv. if you are not changing ruby version often. us rbenv.. o...
Freibuis replied

How to Upgrade Ruby Versions Discussion

0
General

Auto-submitting Forms & Custom Turbo Stream Actions Discussion

14
General
Awsome work Chris. Thanks!
Ahmed Nadar replied

How to test OmniAuth Params Discussion

0
General

Redmine Rails

2
Rails
Hi, i have trouble with ruby ( i dont know any ruby basics but im edititing redmine plugin ). I prepared method def getDateForRedmine( startDay, endDay, limit, date ) datetime = Date...
This Guy replied

Rails Initialization Internals Discussion

10
General
Really awesome timing with this episode! Helped me figure out some issues with conditional eager loading! :) Good job!
Bashar replied

Looking for Ruby on Rails Developers to work In a US based company

2
General
Our team is looking for a top notch Ruby on Rails Senior developer willing to take on challenging projects. You will be working side by side a distributed team to help build and maintain amazing R...

How do i can add text-alignment to trix ?

1
Rails
Hello. Im trying to add text-alignment functionnality to a trix rich-text editor in a rails 6 app (its for a blog). I find somes example on stack overflow or trix github about adding colors, h ta...
Brendon Muir replied

I must utilize stimulants.

0
General
How can I update an input in a simple form for as I enter a value, and the input already has the dollar sign ($) by default? For instance, if I enter the number 1000000, the comma will be added eve...
LloydWeimann posted

Open Source Vlog - Where Do We Even Start? Discussion

0
General
Testing the new comments...
Kentastic posted

Using Webpack in Rails with the Webpacker Gem Discussion

17
General
I wish our front end guys took 20 minutes to set up webpack on a project!

Learning Ruby on Rails? Join our newsletter.

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