Railscasts by Ryan Bates - My Notes
I hope to go through one of these videos everyday, so I am aware of the tools that are out there in the Rails World. A very very brief synopsis will be provided. I make no claims as to the accuracy of what is contained here, nor its completeness. They are merely personal notes which happen to be published. Let’s see how long we can keep this up for!
Printing Hyperlinks in a Prawn Pdf Table (Ruby on Rails)
What is the task at hand?
Paginating Search Results using POST Requests From a Complex Form
According to the pagy documentation:
Implementing a Simple Counter Cache in Rails (Ruby on Rails)
Active Record has a functionality where you can cache the count of particular items. But it doesn’t do exactly what I want.
Ransack - How to Preserve Drop Down Menus After A Ransack Search
I happen to be running a search on ransack. I am utilising drop down menus in the search. In my particular case, we want to be searching for line items (a particular type of model, which have different types of states). I am using the AASM state machine gem to acheive this particular goal.
Grab Copy Demo - Precast Panel Detailing (AutoCAD .net API)
Grab Copy Demo from Tek1 on Vimeo.
Dimension Panels Demo - Precast Panel Detailing (AutoCAD .net API)
Dimension Panels Command - With Jig from Tek1 on Vimeo.
General Principles On Launching a Successful Venture.
The following are some principles essential for the success of any venture. They are commonsensical, but perhaps counter-intuitive.
What is the XY problem?
This is best illustrated by example: