Ruby on Rails Community Forum
Getting stuck on this query
0
Rails
What am I missing? I have a model called Exhibit that belongs to a Request model. I have a Note model with a polymorphic relationship as the note can be about either an exhibit or a request but n...
Clint Baker posted
Does anyone know how to add logout functionality in JWT based Rails API?
0
Rails
what is the right way to give the session destroy method with JWT in rails API?
ratnarajsukale posted
Rails 5.0 - How to implement in-place editing without using best_in_place gem
1
Rails
I'm building an Events site using RoR which I've just upgraded to v5.0.1 (not moving to 5.1 just yet). My events show page has a comments section at the foot of the page which, so far, only has a c...
Humusk1 replied
Guide to installing/configuring Rails 7 on MacOS Monterey 12.01
0
Rails
Any idea where I can find an installation/configuration guide for Rails 7 on my MacOS Monterey? I have seen some tutorials on GoRails for specific Rails 7 issues, but no tutorial on how to install ...
Joseph posted
Regarding 2 imports when running `rails hotwire:install`
1
Rails
Hi,
When running `rails hotwire:install`, it shows 2 warnings:
```
You must import "./controllers" in your JavaScript entrypoint
You must import @hotwired/turbo-rails in your JavaScript entrypoint ...
Askar replied
Need helping getting started with Ruby on an m1 MacBook.
0
General
I'm new to Ruby on Rails and am having trouble getting my first project up and running.
I used Rosetta to open my terminal and installed homebrew, ruby, rails, postresql, mysql, and sqlite3, as we...
Humusk1 posted
How to setup Deno with Neovim's COC
0
Javascript
Hi,
I am using Neovim, COC with LSP. I installed Deno for Javascript. It is
Plug 'williamboman/nvim-lsp-installer'
Plug 'prabirshrestha/vim-lsp'
Plug 'neovim/nvim-lspconfig'
Plug ...
phq posted
how can I translate the message generate by this @bookings.error.full_messages.to_sentence to some other language (such as Japanese) using I18n gem
0
Gems / Libraries
how can we use I18n.t in controller for such messages, how can we setup keys in locale for particular customised controller
please tell in detail thank you
Shweta Srivastava posted
Vue.js Slots with Tailwind CSS and Rails Discussion
0
General
(Active Storage) How to check for an existing blob in another AWS bucket?
1
Rails
Hi there,
I'm trying to do something quite simple, which is:
- A user uploads a video to a chat (a message can have many attachments)
- The video uploaded automatically gets transcoded with Elast...
Chris Oliver replied
Display Cloudinary image uploads
1
Gems / Libraries
Hello,
I've been trying to solve a problem I've got when trying to display images from Cloudinary. I setup everyhting accounding to the guide they provide and basically I need to upload images fro...
RyanJeff replied
Rails for Beginners Part 24
1
Rails
A great tutorial. I'm a little stumped and looking for a little guidance. I followed along with the tutorial and added on ```<%= button_to "Connect Twitter", "/auth/twitter", method: :post, clas...
Jeremy Lincoln replied
Weird error in cable ready?
0
General
cable_ready 4.5.0
rails 6.1.4.1
ruby 3.0.2p107
This is a simple example from the basic tutorial (https://www.youtube.com/watch?v=F5hA79vKE_E) I suspect the error I am getting is because either cab...
Pito Salas posted
Deploy Ubuntu 14.04 Trusty Tahr Discussion
371
General
The following commands should be slightly modified:cap install STAGES=productioncap production deployI believe it should be the following:bundle exec cap install STAGES=productionbundle exec cap pr...
paul lahana replied
FTX.com REST API POST Authentication FAILS with Ruby on Rails and net/https
0
Rails
Hoping for some help as this one has me baffled...
I created a user account and API credentials at FTX.com.
They have an interesting Auth setup which is detailed here: xhxtxtxpxsx://docs.ftx.com/...
Joergen posted
Forum Series Part 3: Nested Attributes and fields_for Discussion
29
General
What do you think about using ActiveForm? https://github.com/rails/ac...
Pagination with will_paginate Discussion
12
General
Hey,That was a great screencast! Keep up the good work. I was just wondering if there's a way to limit users from accessing pages without any posts? Maybe by editing routes.rb?
Sandhya replied
How to use AMP with Ruby on Rails Discussion
1
General
Hey Chris, this is great, thank you!
One quick question - in my `` tag, I have a lot of code and multiple renders. I'm not sure where to put the canonical and amphtml links, since I have no `_hea...
Eduardo Lima replied
Has anyone using ruby 2.7?
0
General
Hi,
I've been wondering what's the adoption of ruby 2.7. Has anyone here migrated a production app to 2.7?
I've done some rudimentary tests on SaaSHub (development), and it's a touch slower in mo...
nozale posted
Rails PR Code Review with Kasper Timm Hansen from the Rails core team Discussion
2
General
Thanks for joining me Kasper!
Allen Arlene replied