How do I display errors messages from devise in the same page?
I'm utilizing devise and I put the login and sign up structures in a similar page, presently when I compose invalid login subtleties or don't fill required information at the sign up structure. I'm...sakio replied
Seeking recommendation: Vue.js vs Stimulus.js vs Ember.js
I'm starting to develop some front-end functionality for a Rails-based web app. The front end will need to implement the following features 1) A horizontal scrolling window, which dynamically ...Alexander Farley posted
I ended up also disabling wrap_parameters: wrap_parameters format:  So now I can simply do params.permit(:id, :name, :age). Not sure if there is a better way.Penguin replied • Solved
Video explaining notifications-rails
Hey Chris, I was wondering if you could do a video on the gem 'notifications-rails'? I like their approach, as it's broken down into 4 main components: NotificationHandler, NotificationRenderer,...snake117 posted
How do you group by week for a month of records, but only find dates for the month.
arget_date = Date.today.beginning_of_month target_range = target_date..target_date.end_of_month Post.where(created_at: target_range).group_by_week(:created_at, range: target_range).sum(:view_co...Darion Wood posted
Soft delete Active Text in Rails 6
Anyone is using Active text on a controller with paranoia? I added Action Text to my Post to have the `content` be rich text but when I soft-delete a post the `content` is deleted. If I restore ...majoingsw posted
Node.js not installed. Please download and install Node.js https://nodejs.org/en/download/ Error while bundle exec rake assets:precompile during deployment using capistrano
I already have nodeJS installed in my server. Still showing Node.js not installed. Please download and install Node.js https://nodejs.org/en/download/ I have sprockets as well as webpacker....Abhishek Aravindan posted
How do i get the distance between each driver and pickup point (driver are user of thy 'driver') using the here maps api, rails app
With some codeelie kazad posted
Searching and partial keyword matches
Probably need to do some more work with pgsearch. 👍Chris Oliver replied
How do you save draft records with ActionText?
I saw Chris's episodes on autosaving draft records with draftsman, but the gem is a bit outdated now. It hasn't been updated in over 2 years and the highest supported version is rails 5.2. Has anyo...raguila8 posted
simple_discussion https: ?
Disregard, I figured it out. It was the avatar tag using http.Christopher Andersson replied
I actually don’t have a question for a change, but a comment
I’ve been on a few forums for Ruby and Ruby on Rails, and I’ve noticed that everyone is so nice and helpful. I’m a newbie, hobbiest and everyone has been polite and not snarky at all. Thank you all...Rickwheeler1992 posted
Trying to relearn CSS and I'm stuck
I'm trying to figure out how to do a simple animation. I have a box with some text content, the idea is that the box only shows an h2 element until the user mouses over it, then it reveals the para...KaistonGage replied
How come so many solutions to solving layout problems are just: put <div> wrappers around your <divs>
I'm just a noob, but feeling layout frustrations. CSS is so 'artsy' to me, in that there's 30 ways to do everything, but none of them actually work unless you've aligned the stars correctly. Prett...Damiangage replied
How do I transfer content of production databse to my development database
Dear experts, I have a rails application that I was running on production environment. The data upon interacting with application on browser was therefore added to the production database. I wou...Shivam Barthwal posted
How can i change STRIPE2 description on the charge from a paiment?
When you use the stripe api to make online payments, I receive a charge in my app from my bank with the description of STRIPE2, is there any way to change this description for something personalize...Jose Estrada posted
How should I go about setting up a staging environment on Hatchbox w/ DigitalOcean?
Generally for staging, you can just deploy the app to a single server to save money compared to the production fully load balanced cluster.Chris Oliver replied
Want to run Cypress.io tests in multiple platforms and browsers
I'm reading about Cypress and its limitations in many forums and blogs for quite a long time. Most of the posts talk about the missing ability to test cross-browser and cross-domain. Maybe it's t...cooperstein replied