You are here |
greg.molnar.io | ||
| | | |
www.kensodev.com
|
|
| | | | I have an application that I'm working on, this application has a demand that I will show the total files and the file total size inside a project. Here is my model: Of course I have the option of using joins and so on and then calculating the file size, but because every project has many folders and every folder has many attachments this seems a bit off and not straight forward. | |
| | | |
ryanbigg.com
|
|
| | | | Decorating arrays with SimpleDelegator | |
| | | |
hashrocket.com
|
|
| | | | Rails 5 has a ton of new features. It addresses almost 500 issues and pull-requests dealing with performance, security and new features. I'm going to list step by step what you will need to migrate from Rails 4.2 to Rails 5.0. | |
| | | |
enterprisecraftsmanship.com
|
|
| | Hard coding is often considered an anti-pattern. Having values that can change over time hard-coded in the source code requires recompilation every time these values actually change. While this statement is true, I think that hard coding should be the default choice when developing an application. Hard coding vs configuration file When you work on a project or feature, there always are some magic numbers or strings that potentially can change in future. |