David Field


270 Experience
2 Lessons Completed
0 Questions Solved


Posted in Store a hash in a database

Thank you for pointing me in this new direction.

Posted in Store a hash in a database

I have a calculator that takes yearly pension contributions into a hash. Therefore, everyone has a contribution lined up with a year. I don't want a database of dozens of years as one individuals contributions my start in 1970 while another's in 2000. I basically just want to keep the data stored in the hash it currently is in (I currently don't store this information in a database). Is hstore the best thing to look at or serialize or something else? Thank you in advance for all input.

Posted in Two Factor Authentication With Devise Discussion

I'm about 13 minutes into this tutorial and get a routing error.

No route matches {:action=>"show", :controller=>"two_factor"}, missing required keys: [:id]

I've checked and double checked my typing, but I often have routing errors.

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2021 GoRails, LLC. All rights reserved.