This is example project of using pagelets in rails

View Readme

This example does not have any custom javascript that developer would need to write. All required javascript functionality is part of pagelet_rails gem and developer doesn't need to worry about.