Rails Competency Levels

1
Rails
After completing a bootcamp in Ruby on Rails, it can feel overwhelming deciding where to go from there. The typical advice is build, build, build, but it would be really handy if there was some com...

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

Honest opinion needed

2
Rails
Hi guys, I'd love to learn more on ROR and it appears this is a really comprehensive site, but a lot of the content seems rather dated. I want an honest opinion on whether a subscription to this s...

How do I structure my DB to set up oAuth integrations with Facebook, Instagram, etc.

2
Rails
I have a Shopify app where they (Shopify) handle authentication. If you can login to your Shop on their platform, you can login to the Rails app. Therefore I have no need for Devise. It seems like ...

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

How to deposit, withdraw, transfer coins...

0
Rails
Hi Chris,I want to create an app where I can keep track of my cryptocurrencies.This is what I have right now:Coins (can have many wallets)namesymbolWallets (belongs_to coin)(has_many transactions)c...

capistrano deployment fails node and yarn is installed in the server

0
Rails
00:29 bundler:install The Gemfile's dependencies are satisfied, skipping installation 00:30 deploy:assets:precompile 01 $HOME/.rbenv/bin/rbenv exec bundle exec rake assets:precompile ...
Tahir Ahmad posted

Extend Sprockets to bundle mustache templates

3
Rails
I'm trying to include some Mustache templates into the main JS bundle. The idea is to take `/app/templates/*.mustache` files, generate a JSON object, and set a window-level variable, like this: ``...
Solved

Turboframes not replacing when placed in another partial

2
Rails
I am trying to create a modal or a drawer which allows me to edit a form. When I place the `turbo_frame_tag` in the same file like so. The form shows up properly when I click the link. **admin/pe...
HP replied

Global User for Multi-Tenancy with Local Tenant Users

2
Rails
I'm watching the rails tutorial on the apartment gem and am curious how to manage my Users, which I've already created through Devise and implemented User Roles. Essentially, I want one Super U...
neiladdams replied

Structure Guidance - Multi Tenancy Authentication / Authorization

19
Rails
I while back I was playing around building an app where you had multiple tenants (Company Model) and a single login (User Model). I then created roles (Role Model) to link the users to the tenants....
BKSpurgeon replied

How do I add a /user.json file using devise?

0
Rails
I'm trying to complete the episode 78 "@mentions, autocomplete, notifications, and links" but I'm using Devise. The part I'm stuck on is I can't figure out how to fill in the /users.json ...

How to access a webpage and get its content

2
Rails
Hi, good afternoon. Chirs, I would like to access a website and get its content from its page to create a database with this information. It is about a game so, it is a common information that I ...
Simon P replied

Format of created_at for date range using Searchkick

12
Rails
I am using searchkick to build out a searchform that has a couple different parts to it and searches across multiple models. I am specifically trying to get a date range setup so the user can searc...
Chris Oliver replied
Solved

Webpacker noob - so I saw your video and im using rails 6

3
Rails
how does one go by installing https://github.com/metafizzy/isotope with webpacker? ``` yarn add isotope-layout ``` ``` require('isotope-layout') ``` now I get an error ``` .col-md-9 ...
Gus P replied
Solved

Websockets with Rails(Passenger) - Error during WebSocket handshake: Unexpected response code: 400

1
Rails
Hi all, I am trying to deploy ActionCable and Rails 5 To Production server (DigitalOcean). I have followed all steps mention in the Gorails video here: https://gorails.com/episodes/deploy-actionca...
Rizal Yusoff replied

Error 500 on Heroku (app Ruby on Rails)

0
Rails
Hello , I created an app on Ruby on Rails, and everything is ok on my localhost. But on Heroku, it doesn't work : *We’re sorry, but something went wrong. If you are the application owner check ...

Why this error ? how I fix this.

4
Rails
I have a form that has fields from two different tables, the Patients table and the Addresses table. Please make a search field to use only one patient (Patient) and return his data, up to the fiel...
Thomaz Wanderbruck Schmidt replied

How to have one application for multiple URL's

1
Rails
We have a requirement where are rails application should be available on multiple domains like abc.com and xyz.com based on domain it will only show a different logo all the rest is identical. What...
Chris Oliver replied
Solved

Debugging need help

1
Rails
Hello Is there a method to debug hosted ruby on rails application and check the request and response object

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.