Blog
Check out my latest posts!
In a recent project i am involved in, i had to perform some optimization regarding the overall application response time, and it happens this application is using Trailblazer...
Scalling a Rails application’s response is often done by using another programming language. As we might know, Twitter has started as a Rails application, and ended up...
class SomeClass < ActiveRecord::Base
belongs_to :user
def self.serialize(attr_name, class_name = Object, exposed_fields = [])
super(attr_name, class_name)
...
Recently i have come across one small problem that i needed to fix. I had many records in a DB that i do not needed. I could not delete the entire collection, as i needed...
Recently i had to implement a Romanian Phone Number validator… and i have managed to implement it as a method of the jQuery Validation Plugin.
here is the whole method
I’ve been searched for a method on how to work using sphinx from console, I needed to access the interface in order to see what’s indexed, how is stored and also test...
I was looking for a way to scale horizontally a Ruby on Rails application, and i have tried several methods to scale it. A method would be using a MySQL cluster, but...
Recently I have observed that one of my servers took long time to respond to users. After an investigation I have seen that i had a lot of TIME_WAIT connections, because...
Today i was discussing with a colleague of mine about a mysql database optimization technique, and some of the things i have learned about how mysql works on big table...
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...
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...
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 prior to version...