Yes, I started learning Rails and Middleman but then I hit a wall. I was like whats ERB? I got it but not I have to learn just how the layouts work? Like how to I make a picture go into the place I want it to go with <%yeild%> I have not found a place that explained how outside of the super basic layouts. And INK is cool inklestudios.com/ink/ thanks so much for your response.
Not really the place for these, but ERB is just HTML where you can use ruby code to extend, and dynamically generate HTML. If you don't know HTML that well, then you should start there. Placing an image is as easy as just using <img src="" > where you want it. The only difference being that your src attribute has to be dynamic based on the asset pipeline or however you serve up your images. Rails also gives you the image_tag helper method to make it more ruby-like.
When you say ERB, do you mean in ruby? I'm not sure what
INK
is... but you can start here to learn Lua tylerneylon.com/a/learn-lua/Yes, I started learning Rails and Middleman but then I hit a wall. I was like whats ERB? I got it but not I have to learn just how the layouts work? Like how to I make a picture go into the place I want it to go with <%yeild%> I have not found a place that explained how outside of the super basic layouts. And INK is cool inklestudios.com/ink/ thanks so much for your response.
Not really the place for these, but ERB is just HTML where you can use ruby code to extend, and dynamically generate HTML. If you don't know HTML that well, then you should start there. Placing an image is as easy as just using
<img src="" >
where you want it. The only difference being that yoursrc
attribute has to be dynamic based on the asset pipeline or however you serve up your images. Rails also gives you theimage_tag
helper method to make it more ruby-like.That ink looks cool.
Lau looks like a really good language, I interested in starting to learn it it seems that you you can do alot with it