Alecslupu

Be Linux! Drop Irrelevant issues out of memory

Primary menu

Skip to primary content
Skip to secondary content
  • Home

How to reduce code duplication

Posted on March 28, 2013 by alecslupu — No Comments ↓

By using Ruby or Pyton you might know about the fact that both are dynamically typed, as a result a developer can choose some of the variants available to remove some of the duplication. There are at least 2 methods Continue reading →

Posted in Programming, Ruby On Rails | Leave a reply

Mysql field types and their charsets

Posted on February 4, 2013 by alecslupu — No Comments ↓

When having to administer a big database having tables that contains millions  of rows, a big issue emerges. Optimizing the tables and the data stored. A short version would tempt me to say: Don’t use the utf8 encoding for all the table. Continue reading →

Posted in Database, Optimisations | Tagged mysql, table collation, table encoding, table size, utf8, Varchar | Leave a reply

How to implement Enum Fields in your Ruby on Rails models

Posted on February 3, 2013 by alecslupu — No Comments ↓

If you reached this page, it might be because you have searched how the hell you could create an enum field in Ruby On Rails. Short answer: Ruby On Rails does not know how to deal Enum fields, so you Continue reading →

Posted in Programming, Ruby On Rails | Leave a reply

Categories

  • Database
  • Optimisations
  • Programming
  • Ruby On Rails

Archives

  • March 2013
  • February 2013

Tag Cloud

mysql table collation table encoding table size utf8 Varchar

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
  • Facebook
  • Twitter
  • Google Plus
  • Linkedin
Copyright © 2013 Alecslupu . All Rights Reserved.
Powered by WordPress | Theme: Catch Box