• bitla
  • Company Blog
  • Product Blog
  • Mobile Blog
  • Web Blog

We Build Successful Web, Mobile and Social Applications

Hire our experts to get your app done the right way

Ruby on Rails

Deserializing an object failed in ActiveRecord

Posted by Dash
May 6, 2010

 
This can happen when the rails dependency system doesn’t load the serialize referenced objects before deserialize happens. We killed some time figuring this out – here is what you can do if you see any such issue:
For example:
The following code could create deserialization errors when Employee object is loaded.
class Employee < ActiveRecord::Base
serialize :job_roles
[...]

RoR, Ruby on Rails, SerializationActiveRecord, RoR, Ruby, Ruby on Rails, Serialization
No Comments

Ruby on Rails: Serializing and DeSerializing Ruby objects

Posted by Dash
May 5, 2010

 
Serialization in Ruby comes very handy at times, it really helps in several cases especially when dealing with:

persisting Ruby objects onto a disk or to the database
transferring the Ruby objects over the network
session persistence
complex data structure storing in the database with ActiveRecord
and lot more …

The Object Serialization can be done in Ruby in two [...]

ActiveRecord, Ruby, Ruby on RailsActiveRecord, RoR, Ruby, Serialization
No Comments

How to use REDIS with Rails?

Posted by Dash
March 19, 2010

Redis (REmote DIctionary Server) is a key-value database written in C. It is similar to memcached but the dataset is not volatile, and values can be strings, exactly like in memcached, but also lists, sets, and ordered sets. All this data types can be manipulated with atomic operations to push/pop elements, add/remove elements, perform server [...]

Ruby on Railsrails, redis, Ruby on Rails
No Comments

Background Job Processing in Rails

Posted by Dash
March 19, 2010

Running jobs in background is part of every non-trivial web application for either speeding up user response, or running periodically scheduled tasks. Here, I explain various tools available to do the backgound jobs in rails.
Here are the few listing of the available Rails Background Job tools.
    * Delayed Job (DJ) [...]

Ruby on Railsrails background job, ruby on rails background job, ruby on rails BJ
No Comments
  • Categories

    • ActiveRecord
    • Passenger
    • RoR
    • Ruby
    • Ruby on Rails
    • Serialization
    • Uncategorized
  • Tags

    ActiveRecord Android CSS3 HTML5 iPad iPhone jQTouch Passenger rails rails background job redis RoR Ruby Ruby on Rails ruby on rails background job ruby on rails BJ Serialization
  • Recent Posts

    • Ubuntu Linux – Disk Full 100% What to do?
    • SOAP4R and ActionWebServices Conflicts and the FIX
    • How to install and configure Postfix in Ubuntu
    • How to reconfigure Postfix?
    • Learning HTML5 and CSS3 by example
    • Introduction to HTML5 & CSS3
    • Installing Passenger passenger-install-apache2-module: command not found
    • Upgrading to Phusion Passenger 2.2.11
    • Deserializing an object failed in ActiveRecord
    • Ruby on Rails: Serializing and DeSerializing Ruby objects
  • Archives

    • August 2010
    • July 2010
    • May 2010
    • March 2010
  • Our Products

    mobee.in

    Simplified Email Messaging Solution

    TicketSimply.com

    Simplified BUS Travel Management Software for Travel Operators & Travel Agents!

    AgentSimply.com

    Simplified Travel Agent Booking Software

    SimplyBus.com

    Online BUS Tickets Booking

    Bingra.com

    Info your way
What we can do for you?
Bitla has built several innovative Web and Mobile applications ourselves & also helping Web start-ups, Mobile start-ups, Small and Medium Enterprises in building their web & mobile business with strategy, designs, development, scalable architectures, cloud deployments, SEO & SEM and maintain their applications to ensure success.

We can turn your idea/vision into reality.


Read our Blogs
Company Blog
Product Blog
Web Blog
Mobile Bog
How we do it
Discovery
Strategy
Design
Kick-Start
Develop
Maintain
Services
Web Applications
Mobile Applications
Wap & Sms Application
Web Designs
Company
Home
Careers
Contact Us
About