I have badges that are displayed on profile pages But there is this block of white space that fills in. I am not sure how to position the badges appropriately.
This block of code: def set_conversation @conversation = Conversation.find(params[:conversation_id]) .match.origin_target.
playing around with Rails 7 and import maps. Trying to import a folder with some custom JS. # config/importmap.rb pin_all_from "app/javascript/custom", under: "
when i upload the i got this error in rails application ActiveSupport::MessageVerifier::InvalidSignature (ActiveSupport::MessageVerifier::InvalidSignature): i
I’m using mongoid gem ’mongoid’, ’~> 7.2.4’ (mongoDB 3.6) with rails (5) and I have a database with customer collections and bi
I a rails app running on my local environment using postgresql. This morning I spun up a new one and after install the pg gem, etc. I am running into the follow
Trying out rails 7, with tailwind and postcss. I have a few stylesheets in assets/stylesheets, which I import through a file called imports.css in the same fold
I am new to ruby on rails hence when i am trying to create new project by following command: rails new abc I am getting following error rails aborted! Psych::Ba
For some unknown reason Rails 7 (development environment) doesn't pick up changes in application.js automatically when I hit F5 in the browser. The location app
I'm using rails in API mode, with Devise and Devise JWT (for the API), and ActiveAdmin. I had everything working but I've been building out the API controllers
Extremly odd error, asset precompilation works fine in dev mode, but as soon as i do production mode, i get error: root@53407ec15126:/app# RAILS_ENV=production
I have something like: class User < ApplicationRecord has_one_attached :avatar do |attachable| attachable.variant :large, resize_to_limit: [300, nil]
I'm trying to upgrade Mongoid in an Rails 4.2 app from 4.x to 5.x (5.4.1) to connect to a MongoDB 2.6. I've updated the mongoid.yml file to match the difference
I have some javascript that puts click handlers on buttons (for instance). Since those buttons don't exist when the user first visits the app at, say, the "Home
I'm trying to learn ruby on rails from the official website guide, and I copy paste almost all code but some seems not working. like this on for exemple, I get
I've recently tried added the strong_migrations gem to my project, but it's preventing me from running any tests because all of the tables in my schema have the
I'm writing a test which runs over Cuprite::Ferrum, where I need to click, drag and drop an element below another element on the page. Which works fine while I
I upgraded to Rails 7 and Ruby 3.1. While trying to run tests with rspec I got the error below. How can I fix it? An error occurred while loading rails_helper.
Getting this error when trying to call the method validate_create_action. The error occurs on the line @element = klass.new(params[:element]
For my user controller, while running the test cases I am facing render issue. It is redirecting to http://test.host/sign_in instead of rendering new. Controlle