Theresa MorelliRefactoring a Rails helper method for a JavaScript-rendered viewWhen refactoring a Ruby on Rails project to incorporate JavaScript views, I wanted to use a helper method (for formatting a phone number)…2 min read·Jan 17, 2019----
Theresa MorelliCollection_select: What the heck?It’s nice to have options. Enter Ruby on Rails’s collection_select form helper. It generates an HTTP <select> tag and <option> tags that…3 min read·Oct 12, 2018--3--3
Theresa MorelliRuby on Rails project: Refood — One man’s food waste, another man’s dinnerWe Americans waste 25 to 40% of all our food. It’s taking over our landfills, releasing environmentally harmful methane gas. Food…6 min read·Oct 4, 2018----
Theresa MorelliLearn something new every day: building a CRUD app with SinatraYou learn something new every day, they say. For me this has been especially apparent lately as I venture into new (to me) coding territory…9 min read·Aug 20, 2018----
Theresa MorelliFlatiron School CLI Data Gem ProjectI made command-line random book text generator6 min read·Jun 14, 2018----