Outstanding homework week4 day3

CRUD cookbook and rails gallery
Week 10 day2 homework uploaded, the rgb to hex conversion code it horrible and I would love some tips on improvements.