Skip to content

Instantly share code, notes, and snippets.

@between40and2
Last active August 29, 2015 14:02
Show Gist options
  • Save between40and2/b5cf35e2bf7358991074 to your computer and use it in GitHub Desktop.
Save between40and2/b5cf35e2bf7358991074 to your computer and use it in GitHub Desktop.
How to make UI+JS staff working with Rails projects seamlessly
make design-work (css+js) a Rails mountable plugin.
- Install Rails on designer's machine.
- create a Rails mountable plugin, and put it in svn.
- let designers edit assets files, while browsing Rails running server.
understand sprocket and its limitations.
- expose all that are 'required' files into one big file to output.
make out your own assets organization, and layouts schemes.
- coder: controller must give layouts enough information for layouts to compose 'body' tag's classes, etc.
- designer: according to 'product-entity-action', organize asset files, including internal content.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment