Pdf-writer with login engine problem


If you are using pdf-writer with login engine, you can encounter a nasty problem with transactions in login engine like me(gosh… this was crazy). This is because login engine uses transaction-simple module (which is a part of transaction-simple by  Austin Ziegler but not the whole gem) included in rails 1.1 in active record.

While including pdf-writer it require the whole transaction-simple library.So in such a case the simple.rb file is required twice in the application.Which creates a problem in registration in login engine as it uses tranactions.

This ticket is discussed in here and a patch is also available…

http://dev.rubyonrails.org/ticket/4732

http://dev.rubyonrails.org/ticket/4932

Bad news is it can not be fixed before rails version 2 according to DHH ‘s response[:(]

About these ads

About Ritu

A Ruby on Rails developer from India View all posts by Ritu

2 Responses to “Pdf-writer with login engine problem”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: