Testing and Session Variables
I had a rouge conditional wrapped around my code where I set the enrollment. This fails in testing but passes in production. Tweaked that and now it works fine.Dan Tappin replied • Solved
Hatchbox: How do I point a Godaddy Domain to a wildcard sub-domain?
Does Chirs have any tutorials on this? Essentially step by step how to let a user add their own domain name to a multitenancy app set up on Heroku? I understand there are lots is questions regardin...bradley replied • Solved
How do I store audio files in production?
I would definitely recommend uploading with Shrine directly to S3 and then serving the files up through Cloudfront CDN. That way the downloads will be quick as possible which is what you want when ...Chris Oliver replied • Solved
[SOLVED] Decrypt S/MIME 'file.xml.p7m' with OpenSSL
Awesome, thanks for posting your solution. I'm sure at some point when I need to use OpenSSL directly, this will come in handy!Chris Oliver replied • Solved
Devise: Separate pages for account update and password
No affect, unfortunately. No form errors are displayed if I try and update with a blank email or name.Brian Gilbank replied • Solved
Nested Comments in Rails Part 2, nested comments are showing in reverse order
Max Fred replied • Solved
Why is application.css working locally but 404 on production server?
The defaults are also manipulated by the `load_defaults` method which can tell Rails to use the defaults from a specific version of Rails. Could be something with that maybe, I'm not sure. https://...Chris Oliver replied • Solved
Resolving Draftsman incompatibility with Activerecord
Probably need to find an alternative gem or approach since Draftsman isn't being maintained anymore.Chris Oliver replied • Solved
how to process images with carrierwave and delay_job
I am trying to process the versions of the images with carrierware I want to send that process to a queueJuan Alexander Rodríguez Álvarez replied • Solved
Did I forget to do a migration?
Hey Christopher, path helpers like `profile_path` are not methods on the User model. You can use `` in your view to link to a route that matches that name. The Rails guides would be a good pl...Chris Oliver replied • Solved
Displaying User presence when tracking online Users with ActionCable
Yup. It's actually going to be faster than querying your database because Redis is all in-memory.Chris Oliver replied • Solved
Contact form that sends email directly from the page
Hi Kyle, Here are examples that may help you get the form working: * https://www.codementor.io/@simi736/send-email-using-mailform-gem-and-sendgrid-on-heroku-using-rails-5-eyy4zuwnl * This ...HP replied • Solved
jquery_ujs and rails-ujs problem ajax page
hello everyone. i am new in rails and ruby , i just started like 1 week ago . i trying to do a chat between 2 people on rails, with jquery for the ajax part. everything work, but i got th...pikooli replied • Solved
Flash alert/notification messages not displaying for the 'Log In' and 'Log Out' views
I found the solution to the problem I was running into for the Flash alert/notification messages not displaying with the correct styling for the 'Log In' and 'Log Out' views. The issue was resolved...Alfred Montalvo Jr replied • Solved
How do I resolve Rails 22.214.171.124 routing error: No route matches [GET] "/pages_about_path"?
Hi Chris, thank you very much for providing the solution to the routing error I was running into.Alfred Montalvo Jr replied • Solved
Newbie question trying to understand collection_check_boxes method
As I understand it, `author_ids` is one of those Rails built-in magic merhods that gives you all the IDs of associated records. For example, if I have a School that `has_many :teachers` I can do `...Daniel Weaver replied • Solved
Working with action cable and remote redis server on development
I further inspected redis via ``redis-cli monitor`` and found out that ``ActionCable.server.broadcast`` publishes messages to local redis even though the remote redis url is mentioned in ``cable.ym...Shreyas S replied • Solved
Devise is driving me crazy
I solved this. I had a default port in my environments.rb file and then localhost was also being declared in my developments.rb which was causing a conflict as it was using port 465 in dev.Gerard Donnelly replied • Solved