> role(:db, :primary => true) { domain }
I prefer
role :db, :primary => true do
domain
end
On Nov 24, 2010, at 1:42 PM, Paul Schreiber <[email protected]> wrote:
> I had the same problem and found this thread. It worked for me.
> However: what do I do for the :db role?
>
> Normally you write:
> role :db, domain, :primary => true
>
> What's the equivalent lambda expression?
> role(:db) { domain }, :primary => true # nope
> role(:db) { domain , :primary => true } # nope
> role(:db) { domain , true } # nope
>
>
>
> Paul
>
> --
> * You received this message because you are subscribed to the Google Groups
> "Capistrano" 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/capistrano?hl=en
--
* You received this message because you are subscribed to the Google Groups
"Capistrano" 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/capistrano?hl=en