Action Mailbox Routes
2
Rails
I'm adding action mailbox to my Rails + React app, the problem I'm having is that the mounted routes are at the very bottom of the routes file so it will not get called due to the fact that I need ...
Stephen Sizer replied
Solved
Rails log is to big in production?
3
Rails
Hi there, I recently view a video here talking about how to subdivide your log into multiple parts. This video talks about how you can delete them after 7 days. I forgot the title, I can't found it...
Mylan Connolly replied
Solved
Are you adding # frozen_string_literal: true to your config files
2
Rails
I was wondering if some of you are adding `# frozen_string_literal: true` to their config files?
Stéphane Paquet replied
Solved
How can I get a file object from active storage to attach to a different model?
1
Rails
I'd like to access a file object that already exists in active storage and re-attach it to another model. Something like
`@newmodel.image.attach(file_object_already_in_active_storage`)
Is this po...
Brian Carpenter replied
Solved
Multiple select for CSV Export?..
1
General
Hello,
My users can create a report record which is basically a scaffolded model "Report" with controller and views. The users can use this model to create records that a CSV method is using to qu...
alexsunny replied
Solved
Remote form - update partial in Rails 6
2
Rails
This may sound super dumb but is there a new and improved way to remotely update partials in Rails 6. I've used the 'update.js.erb' file before to render the partial but for rails 6 is there an upd...
Chris Oliver replied
Solved
Please help!!! My App is Down
2
Rails
Hello my app is down this morning saying ***500 Internal Server Error
If you are the administrator of this website, then please read this web application's log file and/or the web server's log file...
Chris Oliver replied
Solved
How do I renew my plan at the current discount?
2
Site Feedback
I upgraded my account at the black friday sale in 2019.
Do I need to cancel and upgrade, or would last year's discount get re-applied at renewal?
Thank you.
Andrei A replied
Solved
Beginner Tutorial in Rails6.0
3
General
I am a CS Professor who teaches a web application class in Rails. I created a series of videos for my class. I want to make them publically avaliable for free. (I do not receive money on YouTube fo...
Yash Gadodia replied
Solved
What is the best way to determine the country/currency for a user?
1
Rails
I am using a similar set-up as gorails - devise for registration and stripe for subscriptions. I have separate plans for each currency were are going to market to (USD, CAD, GBP). But I want to...
Jacob Montgomery replied
Solved
Create little (parse data, formatting and counting) project
2
General
Hello, friends. I am a total newbie in ruby, I want to try to do the following thing: create a program that will collect vacancies and monitor the number of repeated words from them.
The structure ...
Solved
Huge syslog file in production
3
Rails
Hi,
We have a rails app with sidekiq in an Ubuntu 18.04 machine hosted in AWS.
We've recently started to run out of space in our disk. I've then noticed that we have a huge /var/log/syslog file, ...
Chris Oliver replied
Solved
How do I configure Rails to use a Proxy URL
0
Servers
Let's say we have a Rails project operating on the domain https://hello.world.com. The way the organization's infrastructure is set up, https://hello.world.com gets proxied into a new URL called -...
Mountaindog posted
Solved
Managed Postgres with DigitalOcean or thru own server with Hatchbox
5
Rails
I've been going thru the various ways to publish a rails app and trying to decide which method is going to be the best in the long run. After some searching I think Hatchbox and DigitalOcean is go...
Olly Headey replied
Solved
How to create a minitest fixture for a non database model?
1
Testing
Hi!
Is there a way to create a fixture for a model that is not in the database? I built my app a few years back following a guide in which the Plans were loaded from a YML file and instantiated as...
Simon Moro replied
Solved
How do I show a modal popup from a link_to button
1
Rails
Hi,
I am trying to build a modal popup when pushing a link_to button. How do I accomplish this? The modal doesn't popup yet, but is underneath my link_to button.
<% if signed_i...
Samantha O replied
Solved
Very strange Rails app behaviour
3
Rails
I've been writing a meal planning app, using Devise for user auth. I've generated the viexws,,,,,,,,,, set config.scoped_views to true, made sure routes.rb has devise_for :users, and setup my befo...
John replied
Solved
Setup noticed to send emails through a mailer?
2
Gems / Libraries
Hi Chris,
Sorry, I didn't "notice" (a lot to unpack here about my notice abilities) that you had a dedicated section for questions:
I was wondering how you configure your Noticed gem to work with...
Solved
undefined method `minimum' for #<Store:0x00007fb25c749b20>
1
General
Hi,
I have a Store model and a PricingClassification model. The PricingClassification belongs to Store. I have made a wizard for creating a store and I am trying to add a range in pricingClassifica...
Samantha O replied
Solved
How do I add ranges to my application?
6
Ruby
Hi in my app I want to have a price classification table where I want to add a range per person...
For example: range_per_person = 1-10, 11-20, 21-30 etc etc.
How can I achieve this? See my schema...
Chris Oliver replied
Solved