How do I import recurring_select in Rails 6?
I am having this same issue. Did you manage to solve it Devan? I would like to know where these files are actually compiled from when you install a gem so I may be able to fix these issues myself ...George Kettle replied
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
ruby on rails nested model relationship and routes
Thanks guys.. Got it working tonight. You were right Monroe, once you get the nested routes working the Friendly ID was a snap to implement. Am very happy with what I ended up with. Thanks again! ...Mike Chilson replied
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 I create a delete button for images uploaded with Active Storage
Is it working properly? ``` @space_image = ActiveStorage::Blob.find_signed(params[:id]) @space_image.purge_later ``` I've found this way doesn't work correctly — the image still connected (.attach...Dmitriy replied • Solved
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
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 stop/minimise VueJS components from being invisible on page load for a split second before appearing?
Old post, but check out cloaking. Basically, you display something like a spinner or "loading..." graphic until the page data is available and then display the Vue components. Here's another post o...Travis Smith replied