Skip to content
This repository

A rails plugin intended to makes easy the models comparison and determine similarity between models or objects.

tree: f592a0cd5d

Fetching latest commit…


Cannot retrieve the latest commit at this time

Octocat-spinner-32 lib
Octocat-spinner-32 README
Octocat-spinner-32 init.rb
Octocat-spinner-32 license.txt
== Last Changes ==
09-Aug-2009 - 05:36 AM 
	-Added ar_object_to_hash(arObject) method
		This method is used to convert a ActiveRecord Object to a Hash.
	-Added similarity_of(arObject1,arObject2) method
		This method is used to get the similarity between 2 ActiveRecord objects returning a float where more similar it is more it gets close to 1.0 , and 1.0 means totally equal.
	-Changed pearson_correlation in order to filter non-integer values from the hash values.
09-Aug-2009 - 04:42 AM (First Method)
	-Added Pearson Correlation comparsion function receiving 2 hash lists as parameters.

This plugin is intended to provide methods and classes in order to make easy the similarity comparsion in rails between Models and objects.

This plugin is licensed under GPLv3 terms.

Author: Régis Mesquita <>
Something went wrong with that request. Please try again.