Testing Against Multiple Databases in Rails with The DATABASE_URL Env Var Discussion

0
General
Active Storage Rails 6 API unable to insert to active_storage_attachments table
Using Active Storage in Rails 6, Active Storage has been merged into Rails! You can find the latest version of the source code inside the Rails repository, ...

2
Rails
Complete Source Code File Search For A Specific Term WIth It's File Name And Line Number
Hello. This guy is brand new to Rails and programming. How do I write a script using Github Desktop that searches every file in the source code for a specific word, and have it tell me the file nam...

1
General
Select Or Create Field With Selectize.js Discussion
Hello everybody,
I have the following issues. While trying to install the code as provided, I get an error:
Uncaught TypeError: $(...).modal is not a function
at Selectize.create (post.js:34)...

23
General
How to Accept incidents using Servicenow rest api
How to Accept incidents using Servicenow rest table api. I tried to accept incident by modifying state and incident_state field its giving me 200 response code but its not reflecting in servicenow UI.

1
General
ServiceNOW and KB article with MS Chatbot
We want to leverage the ServiceNOW Knowledge Base/articles to fetch articles from a customer ServiceNOW production instance through a Chatbot.
As ServiceNOW administrators, how do you propose we...

1
Servers
How do you create and save an Active Record instance that has a reference to itself?
`Files` is an Active Record model that has a reference to its parent of the same type:
```ruby
class Files < ActiveRecord::Base
belongs_to :parent, class_name: "Files"
end
```
I want t...

1
Rails
custom sql in migration breaks in test env?
Hi. I added a migration with SQL to create a full text search column. Worked fine in development, but when I pushed, our git hooks tried to run the tests, and I got a pending migrations error.
...

1
Rails
Welp. They just let me go.!!
They also don't seem to care if they'll ever be able to employ good devs. Nobody with a choice will want to work on a stack that was retired more than five years ago. This company is almost certain...

3
General
Setting Up Linux in Windows 11
I just bought a new laptop with Windows Home. Upgraded to Windows Pro.
When I configure the computer for Hyper-V or enable the virtual machine and restart the computer I get a black screen. I ca...

1
General
Ruby Natural Language Processing
This field is quite complex. We need time to study

3
Ruby
I want to add date and time picker in my rails 7 application, import the packages by using importmap but I can't find the file I want
need a suggestion for how do I work with importmap for perticular file

1
General
How do I #create with a double delegated_type and has_many :through
Last update: getting my associations straight!
Well - like I more or less anticipated - the devil was lurking if not in the detail then in the assignment :big_smile:
Going back to the drawing...

6
Rails
User Interaction With Ember Discussion
when you create rails project,you should use rails new project_name --api
it will not have verify_authenticity_token

5
General
Code Review: Refactoring the Receipts gem for Composability Discussion
One thing I've found helpful is to purposefully start with a very concrete approach (like you following the designer's template) and only refactor it later to make it more flexible if and when it's...

1
General
I am in the process of updating my 5.2 rails to 7, now at step 6.0 to 6.1 get a HPE_Header_OVERFLOW when starting app
not asking for an absolute solution, but just a hint to know in what direction to look, or what to exclude to see if it works

2
General