Autor: Rafath Khan

Everyday be better version of your self…

Everyday be better version of your self…

So.. this is it… I’ve made decision to improve my self to became better version of my self – and share this publicly. Well of course no one is reading my blog, so this...

libv8 and mac…

libv8 and mac…

Always… when I setup new rails project with fresh ruby I encouter issues with gems… $ gem install libv8 -v '3.16.14.11′ Building native extensions. This could take a while… ERROR: Error installing libv8: ERROR:...

Pow and pry… working together

Pow and pry… working together

Use pry-remote to interact with your rails app running in pow # In your Gemfile gem 'pry-remote', :group => :development # Install with bundler $ bundle # In your ruby code binding.remote_pry # In...

redux-persist with react-redux-starter-kit

redux-persist with react-redux-starter-kit

Recently I’ve worked with react-redux-starter-kit and I needed to add redux-persist to save data between switching routes (walking through the webpage). Scenario was simple, load data from API – save it and on returning...

Bye bye vagrant welcome localhost….

Bye bye vagrant welcome localhost….

Last few days I’ve spent on cinfiguring rails 5.1 and webpack – well totally wasted time, if you use vagrant and want to have live reload with webpack (on vagrant), then prepare your self...

Rails and vagrant – problem with refreshing controllers

Rails and vagrant – problem with refreshing controllers

I’ve always same issue with changes in the controllers or models in development env. So recently I found solution which works perfectly: in config/environment/development.rb add or set: config.cache_classes = false config.reload_classes_only_on_change = false also...

rails 5.x –help –

rails 5.x –help –

Rails 5.1 is on the board so… lets test it 😉 If you, like me, have multiple versions of rails in your gem libs, than to user proper one do this: mkdir new_project &&...