Ruby Meta Programming cheat sheet
If you want a comprehensive tutorial, then perhaps consider getting Metaprogramming by Perotta. A huge proportion of the notes here are derived from Perotta.
Web Development (Rails), CAD Plugins, and AWS
If you want a comprehensive tutorial, then perhaps consider getting Metaprogramming by Perotta. A huge proportion of the notes here are derived from Perotta.
Prawn is my go-to pdf generator, when using a Ruby on Rails application. I wanted to create a table in prawn, and having no idea how to do so, stumbled upon an article on-line on how to do this. Without it, I would have been lost.
Folks, don’t be afraid of the source code. It’s not all that complicated, once you know the ropes of course.
Nothing could be more paramount, in the writing of code, than to make it understandable and legible. You will be greatly assisted in the latter task, if you employ a beautifier, that styles everything automatically for you. If you are using Sublime Text 3 as your text editor, then you can employ the “BeautifyRuby” package to help automatically indent and style your rails templates.
I’ve written a command which helps takes panels from the marking plan to creating an elevation view. This command will hopefully reduce errors and improve efficiency. I call it the CopyMarkingPlanPanelsToLayout.
Consider the following code:
Demo of a little command I wrote: