how do i debug

1
Rails
Is there a method to debug hosted ruby on rails application and check the request and response object
Arnaud replied

How to prevent missing images or assets after deployment in rails

0
Rails
I'm building a website as side project with a friend. Ngnix + Rails in docker. After deployment, I usually do assets:clobber and assets:precompile. This changes the name of the assets. When I try...
oscarlopezalegre posted

How would I go about building a price-comparison engine with Rails

0
Rails
Hey guys, I just started a project (based off of Jumpstart Pro). One of its core features should be a price comparison: I'd like the app to fetch prices across different websites/webshops several ...
karatepicke posted

Using mail_form gem and Sendgrid - having an issue

1
Rails
I'm trying to test sending an email from the page, but I'm not receiving any emails in my inbox. While in the rails console, it looks like the email is sent correctly. I'm just not getting it. I be...
Mark replied

Render before action completes

4
Rails
Controller action is taking a couple of seconds (complex calculations in dashboard) and i want to display a spinner on the html.erb file while waiting so basically start the rendering before the ...
julianrubisch replied

How do I properly Shallow nest while doing a Many to Many association?

1
Rails
So I am teaching myself rails through online tutorials and such. I have followed many on how to make a CRUD. I have learned about nested routes and how to accept attributes and dependents, etc. Now...
Brendan Feltrup-Exum replied

Help with Rails Application in Apache

0
Rails
I need help with getting a rails application working with Apache. I have the following virtual host configuration ServerName concerto DocumentRoot /usr/share/concerto/public RackEnv ...
Keith posted

Need help setting up development environment for an project named Noticed (Open source)

2
Rails
Hi all I am trying to start contributing to the open-source world and so I am trying to setup Noticed gem locally (https://github.com/excid3/noticed). I have my postgres server up. After installi...
Chris Oliver replied

"NoMethodError: undefined method `deep_symbolize_keys'" when trying to deploy my application

2
Rails
Hey I followed the deploying guide for Ubuntu 20.04 LTS. When deploying my application I get the following error. Googling around I haven't been able to locate any leads on what to do... anyone h...
Solved

Best way to grant a user specific permissions

5
Rails
Trying to determine which way I should handle this. Normal User adds a post to our system, he then has the ability to update and delete this post. In the future he may assign other users the abili...
oomis replied

User model guidance

1
Rails
Hi All, I'm creating a coaching app and have two users that use the system a coach and a client. A coach can also be a client of another coach. So I will need to be able to switch accounts to eith...
Chris Oliver replied
Solved

Announcements

1
Rails
Hi Chris, How do you do the announcements in Hatchbox? Thanks, Steve
Andrew Porter replied

Richtext with Nested Attributes in form

0
Rails
This may have been covered but i've got a form with a nested attribute, which I want to include a rich text form with trix/action text. When submitting the form rails all of a sudden ignores the "f...
Tim Dowling posted

How do I display errors messages from devise in the same page?

1
Rails
Hello, Chris! I have a rails appp, and I'm using Devise (without simple_form). My registration form is in my homepage, root_path. I followed the tutorial from Devise and I'm able to register users...
sakio replied

Problem with the load of view of sign_in with Devise Rails 5

0
Rails
I have the views of devise in views/users, but I have one layout for all app in aplication.html.erb, but the devise i dont want to renderize with this layout, so I create a sessions controller and ...
Thomaz Wanderbruck Schmidt posted

ActionController::Parameters.new.require(:person)

1
Rails
Hello, Note:I configured the App with config.action_controller.action_on_unpermitted_parameters = :raise. Assuming I have a Model Person with attributes :name, :age. If params = { name: "penguin...
Penguin replied
Solved

Action Text Colours & More Heading Options

0
Rails
Hey Chris - Is it possible to add a colour picker to action text, i.e. select some text and change its colour? Seems like a basic thing that should be included. It would be great if there were mor...
Brian Gilbank posted

How do you group by week for a month of records, but only find dates for the month.

0
Rails
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_count...
Darion Wood posted

Soft delete Active Text in Rails 6

0
Rails
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 th...
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

0
Rails
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. Spr...
Abhishek Aravindan posted

Want to stay up-to-date with Ruby on Rails?

Join 93,131+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.