Load only products based on region ideas please :)
Aye, I agree - if SEO makes no difference then keep the URL's simple. I suppose the only other thing to consider is could the URL's be sharable? If that matters at all then you may consider usi...Jacob Montgomery replied • Solved
How do I find the next and previous lesson?
The acts_as_list gem has some methods for inserting and moving items in a list. It updates all the values afterward if you were to insert an item at position 2 like you mentioned. You'd need to mak...Chris Oliver replied • Solved
Passenger vs Puma
Hi. I have an inbuilt chat functionalty on my application that utlises websockets. My server freezes up very often and I can't figure out what config is best suited for my app. `https://github.c...Himanshu G. replied • Solved
Sortable Drag and Drop
Hi Ok added as per your suggestion All seems to be working 100% after removing byebug. Thanks so much for the assistance. I had this open also on Stackoverflow if you would like to send...Clay replied • Solved
Exposing API when uploading image with ActiveStorage in Rails 5.2
When exposing an image from ActiveStorage you first need to access `:active_storage_blobs` to expose: ``` t.string :key, null: false t.string :filename, null: false ...Lauro replied • Solved
Direct Uploads with ActiveStorage - DO Spaces
I managed to up upload images to Digital Ocean's Spaces following the episode on [Direct Uploads with ActiveStorage](https://gorails.com/episodes/direct-uploads-with-rails-active-storage?autoplay=1...Lauro posted • Solved
Dropdown menu with form data?
Solved it.. I just had honey in my head. All you have to do is render a hidden field that you update on click and just render all ul's and li's and toggle their display with jQuery.Christian Kienast replied • Solved
How to change Boolean Value on specific date.
That video was exactly what I needed. Thank you so much!Jeff Wolfram replied • Solved
cloudflare vs cloudfront vs ?
If you are using S3 it is pretty trivial to use it as as origin for cloudfront. On an aside, you should also look at using webp w/poly fills to speed up your images .Marcus S replied • Solved
How do I sort values incoming from an API call?
OMG! It worked.. I did directly on the controller which i'm not super happy about but it's a good start.thank you so muchChantal Justamond replied • Solved
How is the Trix editor on gorails.com "Parsed with Markdown"?
uh ehm, okay didnt know that, is there a guide which shows how to achieve that? looks promising! thank you for that information!Sebastian replied • Solved
How would one go about sorting ActiveStorage has_many_attached objects?
In case others need this, I found this gem, it can sort by array of ids with a native SQL query and return a relation. https://github.com/khiav223577/find_with_orderVito Botta replied • Solved
Whats the best way to handle subscriptions with a forum?
Hey Stephen,So what I did was mimicked Github's Notifications section on Issues. You can see it on the forum here at the bottom of the right sidebar.Here's what my model looks like. Basically, this...Chris Oliver replied • Solved
How to use rails and sortable connected lists
Thanks Chris! I'll check it outGraeme Ellis replied • Solved
s3 images not showing up in gmail?
Thank you for the reply, thats what it turned out to be. Seems gmail doesn't like protocol relative urls.Jason Ormes replied • Solved
Oh gotcha. Well I'd recommend using the Support tab in Hatchbox instead to file tickets so we don't accidentally share things publicly on the forum.I'll take a look at your account.Chris Oliver replied • Solved