Hack hack hack...

An open journal-- some of it written for you, but most of it is for me.

Memories and Holiday

Generate a new secret token

  • I copied over app with a foundation built in. Can’t of course copy over the secret token. rake secret will generate the new token via.


Print styling

  • needed to remove the deafult media=’screen’ in order to load these styles via this post
  • in application.rb needed to include config.assets.precompile += ['print_wishlist.css'] so that it is precompiled separately. Though it was written in sass it needed the print_wishlist.css.sass extensions as sass isn’t recognized in the app.rb as it expect the file after compilation rather than before via.