Sunday, January 17, 2016
jquery issues in Electron
https://github.com/atom/electron/issues/345
How to properly run a Rails app inside Electron? - http://stackoverflow.com/questions/31967854/how-to-properly-run-a-rails-app-inside-electron
How to properly run a Rails app inside Electron? - http://stackoverflow.com/questions/31967854/how-to-properly-run-a-rails-app-inside-electron
Friday, January 15, 2016
Tuesday, January 12, 2016
Monday, January 4, 2016
Electron
Electron - Cross Platform Development for Desktop apps
Excerpt from : http://electron.atom.io/docs/latest/tutorial/quick-start/
Excerpt from : http://electron.atom.io/docs/latest/tutorial/quick-start/
Electron enables you to create desktop applications with pure JavaScript by providing a runtime with rich native (operating system) APIs. You could see it as a variant of the Node.js runtime that is focused on desktop applications instead of web servers.
This doesn't mean Electron is a JavaScript binding to graphical user interface (GUI) libraries. Instead, Electron uses web pages as its GUI, so you could also see it as a minimal Chromium browser, controlled by JavaScript.
Sunday, January 3, 2016
Clear test db while running rspecs
If we end up in a situation where we find out that the 'test db' is not being cleared properly, we can do the following:
http://stackoverflow.com/questions/25877734/rails-4-resetting-test-database
http://stackoverflow.com/questions/25877734/rails-4-resetting-test-database
bundle exec rake db:reset RAILS_ENV=test
List Columns in table (in Rails Console)
From rails console, how to list columns in a particular table:
http://stackoverflow.com/questions/5575970/activerecord-list-columns-in-table-from-console
Model.column_names
e.g. User.column_names
http://stackoverflow.com/questions/5575970/activerecord-list-columns-in-table-from-console
Model.column_names
e.g. User.column_names
Subscribe to:
Posts (Atom)