Ruby on Rails Community Forum

How do I set the active tab on the tailwindcss-stimulus-components

2
Gems / Libraries
Hi Chris, I am using the tailwindcss-stimulus-components on a project. The tabs work great, but I can't find how to set the active tab. The problem is that I have different links to forms in each t...
Edmundo Ramirez-Semprit replied

Medium.com style URLs for username

1
General
Hi everyone, I'm implementing a username system in my app, and I'm trying to make the URLs pretty. I'd rather not have anything like: ``` https://www.myapp.com/users/joebloggs https://www.myapp.c...
Ivan Raszl replied

How to use Twilio Markup Language (TwiML) in Rails Discussion

0
General
Hi, It is a good idea to send a bunch of SMS messages after create action? It will be better to put it in background job wouldn't? Like with batch emails.
Jaroslav Horák posted

Jumpstart Template

1
Rails
I followed this tutorial (https://github.com/excide3/jumpstart), when I go into powershell and enter EDITOR=subl rails credentials:edit it comes up as a empty file. If I try and migrate the Databas...
Tom Marler replied

Ruby on Rails: gem devise session logged in

1
Rails
I have two tables, company and employee, so I would like when I register an employee, his registration was also for the company that was already logged, that is, without having to have to choose wh...
Ivan Raszl replied

how do i solve this problem related to ruby installation?

0
Ruby
when i run this command : rvm install 2.6.3 I get this error: [Searching for binary rubies, this might take some time. Found remote file https://rvm_io.global.ssl.fastly.net/binaries/ubuntu/18.04/x...
bondka posted

Accounts middleware and integration tests?

0
Testing
Hi folks — I'm a big fan of the Accounts Middleware pattern introduced about a year ago in this tutorial: https://gorails.com/episodes/rails-active-support-current-attributes Super powerful. Appl...
Dan Charlesworth posted

Redirect show to edit mode always

0
Rails
Hi, I want to work always in edit mode and not in show mode. So when i go to show a object, I want to be in edit mode. How I can make this possibile? First I think that I can put a redirect in show...
AlessioVaralta posted

Apartment and Heroku

0
General
I am trying to implement Apartment. It works fine in development but the app won't load on production. I get this error: Apartment::TenantNotFound (One of the following schema(s) is invalid: "oca...
Steven Fried posted

Action text rails 6

0
Rails
Hi Chris, i cannot upload the images from rich text drag and drop to s3 from dev. my development .rb `config.active_storage.service = :amazon` my storage.yml ``` local: service: Disk root: ...
Pratima Singh posted

Token Authentication with Rails, Vue, GraphQL and Devise

0
Rails
Check out [this article](https://engineering.doximity.com/articles/token-authentication-with-rails-vue-graphql-and-devise) on auth using Vue + GraphQL and the battle tested Devise gem. All feedback...
James Klein posted

Ruby on Rails hiring / iMode d.o.o.

0
Ruby
Hi Go Rails We are hiring developers on ruby on rails. Any freelancers from Slovenia, Croatia, Serbia? Best regards Denis Jasar / iMode d.o.o. (denis.jasar@imode.si)
DenisJasar posted

`simple_form` Date Selector

0
Gems / Libraries
I've been working with the `simple_form` gem to create the forms in my app and I would like to know if anyone have experience replacing the default `date` selector? Its functional but a completely ...
Nelson Casanova posted

How do I update Ruby/Rails ?

1
Ruby
Hello, I have a project running with ruby v 2.6.1 and I would like it to work with 2.6.3 . How do I upgrade ruby and rails versions? Thank you
Rajan Bhattarai replied

How to export the entire active records to a csv file where each sheet is a active record

0
Rails
Is there a way to achieve exporting the entire active records in a rails application to csv where each relation is a sheet of csv or there is another way to export full db data.Any suggestions?
Abhishek Aravindan posted

2 rails apps , 1 database

0
Rails
Hi fellas, I have a project to do where 2 apps share one database! **1.** The first one (app1) is a basic blogging application that lets a user register and then write posts. Each user can write, r...
AgonIdrizi posted

How to run serial (multi-step) background jobs?

0
Rails
After a user submits a URL via a form I need to run a handful of jobs in series What would be a good way to do this? 1. User submits URL 2. Use the URL to build file paths 3. Download file 1 fro...
Daniel Weaver posted

Using active_record_store instead of cookie_store

0
Rails
I am using intializers/session_store.rb `MyApp::Application.config.session_store :cookie_store, key: '_myapp_session'` config/application.rb `config.middleware.insert_before "ActionDispatch::Ses...
Amit Mallick posted

How to Build a Forum with Jumpstart Pro

3
Rails
Hey Guys, I'm following along with the How to Build a Forum with Jumpstart Pro video (https://www.youtube.com/watch?v=ZSom4V-nYxA&t=903s) and I am running into the error "The action 'create' ...
Rob Thomas replied

How do I have data-turbolinks-permanent inside data-behavior="vue"

0
Javascript
Hello, I'm building a RoR application with Vue.js using a data-behavior="vue". I need to use the data-turbolinks-permanent to keep a nav-bar generated with bootstrap-vue.js and mdbootstrap-vue (si...
Alejandro Ruiz posted

Learning Ruby on Rails? Join our newsletter.

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