Philipp Baumann
Joined
Activity
Various gems out there to tackle this issue:
- store_model based on the attributes API from Rails. https://github.com/DmitryTsepelev/store_model
- store_attribute - works with JSON fields as an attributes, defined on the ActiveRecord model (not in the separate class) https://github.com/palkan/store_attribute
- jsonb_accessor – same thing as above, but with built-in queries: https://github.com/madeintandem/jsonb_accessor attr_json - works like previous one, but using ActiveModel::Type https://github.com/jrochkind/attr_json
@Chris: I've been working with some of these gems before, but I haven't quit found out which one I like best. I'd love to see a video cast on working with jsonB (as at first it can be a bit confusing) and probably an overview of these Gems. Which one do you think works best?
There is a gem for this (like always with rails) that uses the attributes API: https://github.com/DmitryTsepelev/store_model
Posted in How to build a wizard
Hi Chris, I‘m familiar with the Wicked gem, bit still I didn‘t find it that easy. A screencast would be excellent, I‘m sure this would be a topic that I‘m not the only one being confronted with.
Posted in How to build a wizard
Hi Chris
Something I'd love to see a video on is on how to build a wizard. I find this not that simple and would love to see how you solve these kind of issues, like in an onboarding process (or any other process):
- How and where to check weather the user has to go through an onboarding wizard (e.g. first time user)
- How to lock down the application, that the user is forced to complete the wizard
- Where to manage state (which wizard step is the user on)
- How to prevent the user from jumping / skipping a necessary step
- Allowing the user to return a step and come back (but not jump a step ahead)
Philipp
Posted in Begineer
Hey
GoRails seems to me more like a more intermediate to pro level (and there it's just awesome). GoRails is not really a walk-through and I don't know how easy it is to learn the basics with GoRails. I started to learn with a course on Udemy. The one I've done was https://www.udemy.com/course/the-complete-ruby-on-rails-developer-course/. I don't know how it compares to other ones, but it certainly helped me in getting up to speed. Today I'm capable of developing RoR applications and constantly consult GoRails for specific topics (e.g. 'how to I implement XYZ').
Philipp