-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Ok I followed the steps for setting up ruby and rails on my Vista machine and I am having a problem connecting to the database.
Contents of database.yml
development:
adapter: sqlserver
database: APPS_SETUP
Host: WindowsVT06\SQLEXPRESS
Username: se
Password: paswd
Run rake db:migrate…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
My application requires to keep large data objects in session. There are like 3-4 data objects each created by parsing a csv containing 150 X 20 cells having strings of 3-4 characters.
My application shows this error- "marshal data too short".
I tried this-
Deleting the old session table.
Deleting…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I don't know is it my mistake or no. So i have that code:
<code>
post '/singin/get_token' do
content_type :xml
puts request.body.read
puts xmlRequest
xmlRequest = REXML::Document.new(request.body.read)
...
</code>
And when i post something like that:
<code>
<?xml…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I recently installed a fresh development setup on my laptop and now notice that my instances of spork take several minutes to start up. This is also most likely of the RSpec and Cucumber tests start up times running super slow.
I ran in diagnostic mode with the -d flag and received the output below…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
reading around the various ruby install tutorials it's required to change path from /usr/bin/ruby to /usr/local/bin/ruby but i cant seem to be able to do it. Ultimately i want to install Ruby 1.9.2, should i uninstall 1.8.7 or what? i tried to install Ruby 1.9.2 with macports, the installation seemed…
>>> More