You may want to redirect all visitors to coming to your domain “domain.com” to “www.domain.com”. Most popular way to do this is using apache’s mod_rewrite module. You just need to add few lines in your apache’s configuration file:
You may want to redirect all visitors to coming to your domain “domain.com” to “www.domain.com”. Most popular way to do this is using apache’s mod_rewrite module. You just need to add few lines in your apache’s configuration file:
I have wrote my first plugin(state_select). This plugin allows to ...
I was using acts_as_searchable for one of my project, which ...
If you guys want to change timezone of your ubuntu ...
Hey guys, Yesterday I did an interesting server configuration. Actually ...
My new Notebook Configuration: Intel Core Duo Processor 1.66 GHz, Intel ...
With the commit 3324e28804 ActiveRecord::SessionStore is extracted out of Rails into ...
Earlier whenever we wanted to create a HABTM join table, ...
Most developers use ActiveRecord callbacks after_create/after_update/after_destroy to generate background job, ...
#/status/239767146316574720
#/status/237798607397466112
With the commit 3324e28804 ActiveRecord::SessionStore is extracted out of Rails into ...
Returns Time.zone.now when config.time_zone is set, otherwise just returns Time.now
Array#rand is deprecated in favor of Array#random_element and will be ...
New edge rails deprecations: Time#last_year is deprecated in favor of Time#prev_year Time#last_month ...
Just a quick note, If you are getting "uninitialized constant ...