How do i run sneaker worker in rails 6.0 ,ruby '2.6.3' ?
Just add to Rakefile the following command require 'sneakers/tasks'
lpiffer replied • SolvedAction Mailbox Routes
@chris Legend!! Thanks sir!
Stephen Sizer replied • SolvedRails log is to big in production?
Glad to help!
Mylan Connolly replied • SolvedAre you adding # frozen_string_literal: true to your config files
I cannot agree more regarding the performance improvement. I also think it's a good practice to avoid changing a string that we wanted to be static ;-)
Stéphane Paquet replied • SolvedHow can I get a file object from active storage to attach to a different model?
Found this link on how to reference a blob for use with another model. https://github.com/rails/rails/issues/31674
Brian Carpenter replied • SolvedMultiple select for CSV Export?..
thanks my issue has been fixed. ______________________________ https://ometv.onl https://chatroulette.top https://omegle.wtf https://bazoocam.cam
alexsunny replied • SolvedRemote form - update partial in Rails 6
Hey Tim! This actually might change very soon whenever the "New Magic" DHH keeps talking about gets released. There are a few good options currently that I like using: 1. Write a Stimulus JS con...
Chris Oliver replied • SolvedPlease help!!! My App is Down
Hey Houssein, You should contact support in Hatchbox, not on the GoRails forums. 👍
Chris Oliver replied • SolvedHow do I renew my plan at the current discount?
Thank you, Chris
Andrei A replied • SolvedBeginner Tutorial in Rails6.0
Thank you for sharing ur resource :) Helps junior devs like me a lot!
Yash Gadodia replied • SolvedWhat is the best way to determine the country/currency for a user?
Check out the Geocoder gem => https://github.com/alexreisner/geocoder and http://stackoverflow.com/questions/34816490/get-remote-ip-address-in-rails-model What you'll want to do is snag the IP ...
Jacob Montgomery replied • SolvedCreate little (parse data, formatting and counting) project
Huge syslog file in production
Awesome. You can use the RAILS_LOG_TO_STDOUT env var to have Rails not write to the normal log file. You may also need to tweak the ActiveRecord logger if you need to turn it off.
Chris Oliver replied • SolvedHow do I configure Rails to use a Proxy URL
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 • SolvedImage Attachments in ActionText not showing due to routing
Could you please explain how you configured nginx because I am having the same problem.
felicianodev replied • SolvedManaged Postgres with DigitalOcean or thru own server with Hatchbox
I'm in a similar position. I would like a load balanced cluster in Digital Ocean but I'd like to take advantage of their load balancers, Managed Postgres and Managed Redis. Is there a guide to conf...
Olly Headey replied • SolvedHow to create a minitest fixture for a non database model?
Actually... it seems it is auo loading them into the test environment... So, consider this closed :)
Simon Moro replied • SolvedHow do I show a modal popup from a link_to button
I got this working with javascript. <%= link_to "Get started", { id: "store-sign-up" } %> document.addEventListener("DOMContentLoaded", () => { var modal = document.querySele...
Samantha O replied • SolvedRouting for Admin area not working
I got this issue this noon and it has been solved by following this thread. Thanks guy.
Cuong Vo replied • Solved