How do I Export a CSV file where it includes all the nested attributes?
You're a genius! Thank you so much.
Steve
replied
•
Solved
19
Rails
Hatch / Updates
Hey Louis-Philippe!
The goal is certainly to help you upgrade Postgres and Redis. One of the tricky bits of this is that often times your code will be affected by this, so I don't want to accident...
Chris Oliver
replied
•
Solved
2
Servers
Bye bye Heroku 👋 welcome Hatch 🐣 Deploying my first app, few trivial question :)
Hey Karim! Excited you're moving to Hatch!
Jack's answers are all spot on.
1. There's a gem called [Backup](http://backup.github.io/backup/v4/) that Hatch helps you setup for each app. You'll ne...
Chris Oliver
replied
•
Solved
3
Servers
Using will_paginate and .limit(x) together.
Thanks Chris
I did have a play with total_count but couldnt quite get it right.
Much appreciated,
Simon P
replied
•
Solved
7
Rails
How do I prepopulate table data for a new registered user?
Awesome! Thank you very much!
Alex R
replied
•
Solved
3
Rails
how do i display search results
added to index.html.erb now showing results
<% @locations.each do |location| %>
<%= location.company_name %>
<%= location.address %>
<%=...
Neil Patel
replied
•
Solved
2
Rails
Advice on implementing a template system in Rails
You're welcome. Small update, I decided to extract it properly and upgrade the idea into a gem. https://github.com/inopinatus/hokusai
Aside from a slight rejig of the API, there's a change to usin...
inopinatus
replied
•
Solved
6
Rails
how do i implement search by postcode/zipcode using the Geocoder Gem
Location.near("M20 2WZ", 15) now shows
id: 9, company_name: "Winton Flooring Ltd", address: "46 Bury Old Rd, Whitefield", city: "manchester", postcode: "M45 6TL", latitude: 53.53980319999999, long...
Neil Patel
replied
•
Solved
3
Rails
Add to Favorites: using same controller/action and js.erb files for different views
If you submit the `delete` request, you could have two different Javascript snippets run, one for each of the different interactions you want to have.
For example:
```erb
// Hide the favorite
$(...
Chris Oliver
replied
•
Solved
2
Rails
Where should I start?
Hey Kelvin! I'd recommend starting at the first episodes and working your way through them. I don't have a particular order or anything with GoRails, although I probably should. :)
GoRails is most...
Chris Oliver
replied
•
Solved
2
Tips
How do I install bootstrap-v4 via yarn?
Importing css is deprecated, so the line@import '~bootstrap/dist/css/bootstrap' leads to a warning, and apparently in most recent versions already is an error. See https://github.com/sass/node...
Kjell Morgenstern
replied
•
Solved
5
CSS
Any good idea how to import CSV via Sendgrid email attachment and update model/database columns.
Daniel I'm with Jack and recommend you use Griddler for inbound email. I currently use it to capture attachments on inbound emails and store them to S3.
Process the email, check for a filetype of ...
Josh Foreman
replied
•
Solved
5
Rails
Simpleform association with images!
It's been a long week! :) Thanks for taking the time anyway, it's very much appriciated!
You also have a weird ability to create videos which contain stuff I'm working with at the time! You think...
Martin McDermid
replied
•
Solved
7
Rails
Bootstrap 4 modal form in rails disables submit button on ajax refresh
Figured this out, see SO for the details. It was an HTML issue. Resolved :)
nynhex
replied
•
Solved
2
Rails