Rails uses sqlite3 by default on development. If you are not careful enough, you may get so comfortable with sqlite which I did. After a while, there will be a need to push the application to production and at this point, you wouldn’t want sqlite on your web server. I’m using heroku for my app and they stated some good reasons not to use sqlite. On heroku, you wouldn’t be able to push your application to production if sqlite3 remains in your Gemfile.
Moving from sqlite3 to postgresql database for your rails project
Using Multiple tables for authentication in laravel
Laravel provides a good authentication handler with the Auth class. To authenticate a user attempting to log in, we use the attempt method like so:
Moving from Indented Sass to Scss
As soon as I knew about pre-processors, I wanted to test them so bad then I stumbled upon Sass website. Syntactically awesome they said? I totally love anything with awesome attached to it because I feel awesome.
Using source maps
The web browser inspector plays a good role when debugging CSS. However, with the widespread of pre-processors now, we are faced with a challenge of debugging our CSS. Using a pre-processor like Sass, when you have your output style to be expanded or nested, this may not be much of a problem as you will almost get accurate debugging lines except if those lines had been separated by variables and mixins within your pre-processor stylesheet.
Symmetric Encryption in Python
In the middle of a project I’m presently working on, I needed to make use of a Symmetric encryption based on the workflow of my software. A key is required by users to encrypt data and the same key will be needed to decrypt data. My first thoughts were on PyCrypto so I went ahead doing this
Appreciating developers
We are all humans and appreciations are rewards that gladdens anyone. Some developers live a totally normal life. Especially those that have grown to build a family and have to keep them with love. On the other hand, there are a lot more melancholic developers that only find peace by dealing with complex logic.