Chris,

Does this help? https://gist.github.com/280645

cheers
snusnu

On Fri, May 6, 2011 at 02:18, Chris Corbyn <[email protected]> wrote:

> Hi Guys,
>
> We use MySQL replication in production and need to be able to send writes
> to a known database (currently just one, but potentially it could become a
> pool) and reads from any of the available databases.  If writes are done to
> any of the slaves, bad things will happen.
>
> This isn't magic, so I'd be amazed if nobody has already tackled this.
>  Please let me know if anyone knows of a gem for it, or if this is already
> supported via configuration options.
>
> There's a project called Octopus, but it's not ORM agnostic and assumes
> you're using ActiveRecord.  I can't find anything for DataMapper via Google.
>
> Cheers,
>
> Chris
>
> --
> You received this message because you are subscribed to the Google Groups
> "DataMapper" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/datamapper?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to