How can I use Rails Each Array and In-page search to show/hide div content
Found the correct way that worked, leaving the code below in case anyone else needs help with it. **Index.html.erb** ``` No results ...Omar Khedr replied • Solved
Do I need rails-ujs and jquery_ujs?
@Alexander Kostadinov: yep, same result. you only need `require rails_ujs`, otherwise if you are doing any type of submission from client (for example), an alert will process twice.Robert Motion replied • Solved
Link to a method in my model
Fresh start to a new days and nailed this myself:Simon P replied • Solved
Rails How to link an email form with Sendgrid?
Within your create `@contact.save?` method in your contact controller. You can call `ContactMailer.new_request(@contact.id).deliver_later` The mailer can be easily generated with `rails generate...eelcoj replied • Solved
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
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 accide...Chris Oliver replied • Solved
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'l...Chris Oliver replied • Solved
Rails5 + JQuery progress bar not functioning
added the url for the src was incorrectNeil Patel replied • Solved
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
Are there any up to date tutorials for jquery-sortable?
Chris , you're creating an N+1 query with your code by calling `find` inside an iterator. I think the logic can change to calling `Takitem.find( @items )` and than use `Active-Import` gem to to a ...Ohad Dahan replied • Solved
How do you charge for building web app projects?
Yeah, the proof of concept part helped me for two reasons: 1. It greases the wheels. The clients know you're not trying to gouge them for all they got. 2. You get to back out early if the clien...Chris Oliver replied • Solved
How do I prepopulate table data for a new registered user?
Awesome! Thank you very much!Alex R replied • Solved
[Hatch Deployment] - Cannot bundle commonmarker due to cmake
Thanks Chris. Worked perfectly! I forgot that Hatch sends an email with the deploy user's sudo password.Lauro replied • Solved
how do i display search results
added to index.html.erb now showing resultsNeil Patel replied • Solved
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 us...inopinatus replied • Solved
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, lon...Neil Patel replied • Solved
Add to Favorites: using same controller/action and js.erb files for different views
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 mo...Chris Oliver replied • Solved