Hi. I'm breaking an existing app out into separate services for
performance reasons, but am not sure about how best to proceed with
handling images.
The model I'm breaking out into a service has multiple images associated
with it. Historically, these were handled with attachment_fu, and moving
forw
Hi -- I have the following code in a cucumber feature:
http://pastie.org/752061
The problem is that the post method (or the controller) is flattening
the array of hashes into an array containing all the key-value pairs in
one hash, like so: http://pastie.org/752067
(Obtained from a call to inspect
Cheers -- I was being a total spoon.
All I needed to do was to require it normally -- thought I'd tried that,
but must have prepended it with a slash out of habit the first time, or
something.
Thanks,
Doug.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~-
Hi -- I've got a class called SF::SOAP that gets defined at
/lib/wsdl/sandbox/defaultDriver.rb
It is defined like:
module SF
class SOAP
# ...
end
end
How do I include this in my Rails app so that I can (for instance) call
SF::SOAP.new without getting an unintitialised constant
So if I have (locally) my apps all called things like "app1.local" and
"app2.local", then I could set the domain to ".local", which would
generate a "local" cookie that would be available to both apps, enabling
them to share a session?
Sorry if I'm labouring the point -- I've had my head in thi
Ah, I see, sorry -- well, they'll be on the same machine, but that is on
a local network (these are internal apps), and they are accessed by
names like "app1", "app2", with the local server's DNS resolving them to
the server address, and passenger and phusion taking over from there.
That's the
They're on the same machine, although I may want to move them at some
point.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this gr
That could well be part of it, but I'm afraid I'm not sure I follow you.
How would I go about doing that?
(I didn't need to with my old approach.)
Cheers,
Doug.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because yo
I've done this in 2.2, but cannot figure it out for 2.3.2:
Basically, I want to be able to share session data across a couple of
apps.
The way I did this in 2.2 was to create a view called sessions in the
second app that read the sessions table of the first app.
This done, I could tell them both
No, I'm using FreeTDS and iODBC on the Mac, and FreeTDS with unixODBC on
Ubuntu.
Although not with any notable success on either, so far!
Doug.
--
Posted via http://www.ruby-forum.com/.
--~--~-~--~~~---~--~~
You received this message because you are subscribed
Hi -- I'm trying to get my rails app on OSX 10.5.5 to connect to SQL
Server with ruby dbi, and am getting the following error:
/usr/local/lib/ruby/gems/1.8/gems/dbd-odbc-0.2.4/lib/dbd/ODBC.rb:57:
warning: already initialized constant VERSION
/usr/local/lib/ruby/gems/1.8/gems/dbd-odbc-0.2.4/lib/db
11 matches
Mail list logo