ASP.NET MVC file uploads using Valums Ajax Uploader plugin
File uploading is one of the common tasks in web development.
One of the best scripts for file uploading is valums/file-upoader.
Dynamic connection to MySQL database in Ruby on Rails (mysql2)
Getting started with Redis in ASP.NET under Windows
Redis is one of the fastest and most feature-rich in-memory key value data stores.
How to pass multiple attributes to find_or_create_by in Rails 3 : the Ruby way
Ruby and Rails have many magic features like blocks/closures, duck typing/mix-ins/modules, method_missing, poetry mode.
One of the common tasks in programming web applications on Rails is finding a row in a table by several columns and creating a new row in case of row is missing.
Ruby metaprogramming and own custom attr_accessor
Ruby is a dynamic language, that’s why you won’t get compile time type warnings/errors as you get in languages like C#.
Ruby has a lot of metaprogramming features allowing you to create your own custom methods on the fly which can be used the same as att_accessor.
Best Practices of Naming in Code
How Developers spend their work week
PHP vs Ruby vs Python (Infographic)
How to determine if a record was created or updated in after_save callback (Ruby on Rails)
sometimes in after_save callback it is needed to determine if a record was created or updated without the use of after_create callback.
