I am looking forward to the start of the spring semester at HES and the first of the 3 required courses for admission into the program. The course will focus on development using PHP and the Laravel framework, which feels (comfortably) similar to Ruby on Rails.
The course textbook comes from LeanPub, which is another pleasant surprise since they tend to offer approachable, hands-on publications. That said, I am getting a head start and pushing my commits onto Github and soon to deploy onto Digital Ocean (we will be using it for hosting our apps this semester).
As part of my preparation for the start of graduate studies in software engineering at Harvard Extension School (HES) this semester, I enrolled in CS50 via edX.
The course was great! edX did an awesome job of posting all the course material, which very closely resembled the same course offered at HES itself.
Otherwise, the lectures, homework and final project were challenging; for my final project, I implemented an AngularJS application inside my existing RoR app (StormSavvy).
Brief video on setting up clean seed files for your RoR project.
Seed file can be difficult to work with, especially as dataset grows with your application. Several strategies that I have found useful:
- Use comments and print statements as a guide
- Store attributes in a hash, then pass them into new records
- Build out incrementally so that you can check errors
- Remember to link up records using user_id, etc.
Posted in rails, ruby
Tagged rails, RoR, ruby