Recently, I’ve started using GroundworkCSS to implement responsive design on a personal project. Simply put, it’s been an absolute pleasure to use. Not only is Groundwork highly flexible, but it also feels remarkably lightweight in comparison to something like Bootstrap.
There’s a few challenges, however.
Read more »
(Note: For most of this article, feel free to mentally substitute Ember, Angular, or your JS framework of choice for Backbone. Backbone’s just the popular one right now.)
At Pivotal Labs we do a lot of web-based projects. Usually, it’s a pretty easy choice to use Rails for the back-end.
Read more »
- accepts_nested_attributes and validates_presense_of on association id fails without inverse_of
Having a validation that the association id is present when trying to use nested attributes fails because the child object is validated before the parent object in memory has an id.
However, if you decorate the association with :inverse_of, it tells Rails to look in memory first which both saves memory and allows Rails to build the graph of objects correctly with validation!
- Super Happy Dev House in SF tomorrow
Mother of all hack days. They're usually down in the valley! http://shdh52.eventbrite.com/