You can issue direct query to database by:
result = ActiveRecord::Base.connection.execute("SELECT * from tablename")
and fetch hash:
a=result.fetch_hash
You can issue direct query to database by:
result = ActiveRecord::Base.connection.execute("SELECT * from tablename")
and fetch hash:
a=result.fetch_hash
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 ...
My new Notebook Configuration: Intel Core Duo Processor 1.66 GHz, Intel ...
Hey guys, Yesterday I did an interesting server configuration. Actually ...
The asset pipeline which was introduced in Rails 3.1, has ...
#/status/256699237230845952
With the commit c82cf81f00f Action and Page caching has been extracted ...
#/status/253420357841723393
With the commit 3324e28804 ActiveRecord::SessionStore is extracted out of Rails into ...
The asset pipeline which was introduced in Rails 3.1, has ...
#/status/256699237230845952
With the commit c82cf81f00f Action and Page caching has been extracted ...
#/status/253420357841723393
With the commit 3324e28804 ActiveRecord::SessionStore is extracted out of Rails into ...