manu
Wed Dec 13 2017
flash.now
in rails, which allows you to have flash messages which does not persists across subsequent action unlike regular flash
i.e it sets a flash message which is available only to the current action and not for next. http://api.rubyonrails.org/v5.1/classes/ActionDispatch/Flash/FlashHash.html#method-i-nowmrinmoy
Mon Dec 11 2017
emil
Thu Nov 30 2017
[RealWorld](https://github.com/gothinkster/realworld) is a project that curates a list of implementations of frontends and backends in different frameworks for the same application spec . This is a great way to understand how to build non-trivial features when getting started with a new framework.
manu
Thu Nov 30 2017
ActiveRecord Query method - none. It returns a chainable relation with zero records.
Post.none => #
akshay
Tue Nov 28 2017
active record inspect method is invoked to log the active record collection object to the rails console which by default limits the query by 11 but does not actually limit the query being executed.
yuva
Thu Nov 23 2017
Firefox exposes
about:crashes
url where one can see history of crash reports. Clicking on each crash report takes to mozilla website where one can see crash detailsakshay
Mon Nov 20 2017
we can tell the browser how to execute the script. By default, browser runs the script immediately by pausing HTML parsing. Else you can specify async or defer with the script tag to either run script asynchronously or defer it until HTML is parsed.
harshwardhan
Sat Nov 18 2017
if you are using file-loader with webpack to process your assets and want to serve images from cdn you need to pass that cdn url in `publicPath: ''
harshwardhan
Fri Nov 17 2017
when using webpack-uglify to minify your code if you face a situation where your build fails with syntex error try setting
"uglify-js": true
this will run all the transformations, however you can use "useBuiltIns": true
with that option to only include polyfills for your target browsersShowing 65 to 67 of 73 results