changed active records functionality
Merge pull request #5 from ahurjui/dev

changed active records functionality