Is there any reason why you don't just do it the easy way?
host <%= users_ldap_servers.join(" ") %>
On Fri, Sep 10, 2010 at 5:50 AM, Al @ Lab42 wrote:
> Hi all,
> I've a silly problem that it's driving me crazy and I'm almost sure
> the solution is quick and easy.
> Still it doesn't seem at my
Am 10.09.2010 um 14:50 schrieb Al @ Lab42:
> I want to use these values in a single line of a template:
>
> host <% users_ldap_servers.each do |ldap| %> <%= ldap %> <% end %>
>
> No matter how many spaces I place around, no matter the absence of
> trimming -%> I always get something like:
>
>
Hi Al,
seems like its been a while :)
On Fri, Sep 10, 2010 at 5:50 AM, Al @ Lab42 wrote:
> Hi all,
> I've a silly problem that it's driving me crazy and I'm almost sure
> the solution is quick and easy.
> Still it doesn't seem at my reach.
>
> I've a variable with an array of values, such as:
Hi all,
I've a silly problem that it's driving me crazy and I'm almost sure
the solution is quick and easy.
Still it doesn't seem at my reach.
I've a variable with an array of values, such as:
users_ldap_servers = [ "ldapm.example42.com" , "ldaps.example42.com" ]
I want to use these values in a s