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...

2
Rails
ActionController::Parameters.new.require(:person)
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.

2
Rails
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...

1
Rails
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 ...

1
Rails
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....

1
Rails
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 code

1
Rails
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...

1
Rails
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...

1
General
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...

3
CSS
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...

2
General
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...

1
Rails
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.

2
Servers