demonstrate problem sharing code across files in rails asset pipeline