Dan Mitchell

Joined

140 Experience
1 Lesson Completed
0 Questions Solved

Activity

Have you done a repo for this tutorial, Chris?

Posted in Using Flexbox to arrange images

This is the code you want at a very base level for flexbox. However, you do have other options such as grid which involves less code.

.flex {
  display: flex;
  flex-wrap: wrap;
}

.flex-child {
  flex: 0 0 100%;
}

@media only screen and (min-width: 640px) {
 .flex-child {
    flex: 1;
  } 
}

Posted in Form Objects Design Pattern Discussion

This repo is an updated version of Ryan Bates screencast for Rails 5. I've used it on a project and it's great but the model had no associations so I'm not sure if it would work for nested resources

Posted in Form Objects Design Pattern Discussion

I was also going to suggest this - https://github.com/nerdcave...

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.