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 using...
Jacob Montgomery
replied
•
Solved
4
Rails
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
2
General
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.co...
Himanshu G.
replied
•
Solved
4
Servers
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 the an...
Clay
replied
•
Solved
9
Rails
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
2
General
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
1
General
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
4
Tips
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 much
Chantal Justamond
replied
•
Solved
4
General
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
10
General
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
2
Rails
How to use rails and sortable connected lists
Thanks Chris! I'll check it out
Graeme Ellis
replied
•
Solved
3
Rails
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
3
Rails
ActionCable streaming from a strange channel name
Oh my god, it's "stream_from" and not "stream_for". SORRY GUYS...
ValentinKLN
replied
•
Solved
2
Rails
Form item disappearing when failing nested validations
Yep, works a charm.Thank you so much Dylan.
Nino Rosella
replied
•
Solved
5
Rails