assign_attributes not working
Subtle one! Good catch. Sometimes I have done virtual attributes on the User (like `"user[card_"+field+"]")`) and other times just directly accessing the param. It doesn't really make a differe...Chris Oliver replied • Solved
JSON Web Tokens with Devise & Warden (--api)
Hello, You can create an episode with the same typology ( https://gorails.com/episodes/jwt-with-devise) using a project of this type: rails new weather --api thank you regardsAntonio F. posted
Youtube text transcription
Yep, you just go to the video, hit "Settings" on the bar at the bottom, go to the "Subtitles/ CC" option. You should see a list of all the available options, and you just select "Add Subtitles/CC"Miguel replied
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
How does Chris open NERDTree by default when he runs "mvim ." ?
I recommend using RubyMine , it's not free but worth the money. Especially if you're taking Ruby/Rails as a serious job. They also have a pretty good vim mode (coming from a vim only guy).Ohad Dahan replied
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
How can I do drop down dependencies?
Not sure what you are asking. A way to "populate" a select tag with an associated model?eelcoj replied
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
Clone GIT project from another version of Rails
Hi Chris, See how to work a project in rails (4 - 3) on my computer (rails 5) with the RVM. Thank youMauricio Duran posted
Working with FullCalendar in Rails
Hello Cris, Excuse my English. I want to know how (rails v-5) work with FullCalendar and simulate an example ?. I have seen several URLs and GitHub, but they all work differently ... Thank...Mauricio Duran posted
How to redirect batch of urls from routes.rb
I like that aproach. You could certainly simplify your routes file and that would take care of things in a much nicer way. Loading the yaml file in an initializer and looping through it with some r...Chris Oliver replied
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