24 Apr '16, 3am

GitHub - increments/brwy_rails: Browserify | Watchify on Rails: README.md BrwyRails Spawn watchify to…

BrwyRails Spawn watchify to compile js or compile js with browserify under backgroud by env. gem 'brwy_rails' What's this? Under development, spawn watchify process and compile js with it. Under production, compile js once with browserify. My motivation is browserify_rails is too slow. How to use # at your project root npm init npm install --save-dev watchify browserify # or brwy_rails:npm_setup bundle exec rake brwy_rails:npm_setup # create package.json and add watchify Add config.brwy_rails.targets and access it by {name}.bundle.js # config/application.rb config.assets.precompile = [" application.bundle.js" , " application.css" ] # brwy_rails config.brwy_rails.targets = [ " app/assets/javascripts/application.js" ] Rails .application.config.middleware.use BrwyRails .Middleware # config.brwy_rails.browserify_opts = "-t babelify" # your browserify compile command # config.b...

Full article: https://github.com/increments/brwy_rails

Tweets

Rubyで書かれてるアクティブレコードってやつめちゃくちゃ直したけどRubyに関係する話はまっ...

github.com 28 Apr '16, 11am

https://www.sqlite.org/lang_createtable.html According to the SQL standard, PRIMARY KEY should always imply NOT NULL. Unfo...

SeedTray - a gem we made for page-specific Java...

github.com 23 Apr '16, 3am

You need to create a object to represent your app with the same name as your Rails app. SeedTray will automatically use th...

Video: Rails 5: What s in It for Me?

youtube.com 29 Apr '16, 11am

Take a look at what Rails 5 has in store for you. We go through all the new features and improvements across development, ...