I have been an evil coder - working like crazy to get a ROR demo operational and ignoring RSpec. Does anyone have any helpful (aka; friendly) advice on using RSpec to get the current implementation under BDD control? Especially pitfalls to avoid.
Many thanks.
I am trying to install balder - the carrier wave tree
i am getting some errors including:
not seeing the form elements for adding photos.
getting an error message "command exiftool not found"
I think I've installed all the gems and software already.
Anyone here good with troubleshooting code? also - i've got some screenshots handy if you…
We're currently developing a site that uses a simple JSON API (RoR) to populate the page. The data is public to clients but key to our service and we want to make sure that our competitors aren't leeching our data. What methods do you use to verify that AJAX requests to an API are legitimate?
Maybe i have the wrong context but...
Is there a corelib site for mysql like http://corelib.rubyonrails.org/ for ruby on rails RoR?
Would be nice to have 1 stop shop. thx.
In PHP I could echo data to the web browser to debug.
eg. echo print_r($array)
How do I do that in RoR? I tried with puts with no luck.
Is there a way?
Hey guys I had a question regarding scalability for my RoR application.
We have been optimizing our application over the last few days and after running blitz.io, notice that our application times out after maybe 1000 hits in 30 seconds we experienced massive timeouts. In the 1 minute test apparently 74% of users would have timed out.
Look at…
Hi guys,
Computer is running windows XP.
seems to be crashing randomly, no pattern in its timing or activity to cause it.
What could be causing this/how do I diagnose this?
Event log shows
Event Type: Error
Event Source: System Error
Event Category: (102)
Event ID: 1003
Date: 22/02/2011
Time: 7:10:05 p.m.
User: N/A…
I'm sorry if this is a stupid question, but I can't get Ruby on Rails to work on my Apache server. I'm using Phusion Passenger (mod_rails, mod_rack) for app deployment. Here is my RoR-specific configuration code in my website's Apache configuration file:
Alias /rails /var/www/syyborg.com/ruby/blog/public
<Directory…
Hi,
I've decided to start learning Linux + Ryby + RoR. The problem is the only personal computer I have is a laptop with 1GB flash card and I can't afford to buy more hardware right now. The laptop has dual core CPU and 2GB of RAM. Can you recommend a Linux distribution I can install? I've tried the netbook version of…
It's me again :( I was trying to install siwapp on my webserver but I couldn't make it work with nginx, here is the .htaccess file content:
RewriteCond %{REQUEST_FILENAME} !index.php
RewriteRule (.*)\.php$ index.php/$1
RewriteCond $1…
Hi I am building a ROR development environment on a new computer with windows 7,
now I have Ruby version 2.0.0 and Gems version 2.2.2 installed. Which version of Rails should I install?
I saw this on rubyonrails.org/download : "We…
We're setting up a RoR setup with Development on Mac OS X Client (10.6.3) and then using a Mac OS X Server (10.5.8) for testing and eventually deployment.
I'd like to get as many systems in sync on these machines as possible.…
I am using following directions in an attempt to install gitlab on Debian 6.0.5
https://github.com/gitlabhq/gitlabhq/blob/stable/doc/installation.md
I am getting an error when i'm running following command
sudo -u gitlab…
Hello Everyone,
It has been quite some time I am struggling to get Ruby On Rails working on my System which is having Windows XP operating system.
I am trying to configure ROR to use apache and mysql so that I do not have…
I'm using latest Skype version (4.2) on Windows XP SP3
My computer keeps restart when I click "Accept" button on Skype call
Windows Update is running and I've already installed all updates
What's wrong with my computer?…
I have 10 unix users in /home/.
Each user is for a specific subdomain for example user www in /home/www/public_html is for www.mywebsite. blog in /home/blog/public_html is for blog.mywebsite.
90% is php and 10% ror
for…
Hi, this kind of question maybe has been asked here
but I couldn't find any that really match my question.
Heard that nginx performance is quite impressive,
but Apache has more docs, community(read:expert) to get help
…
Some mobile devices send the following incorrect requests to our servers :
GET / HTTP/1.0
Accept:
User-Agent : xxx
The empty Accept header causes our Ruby on Rails server to throw back a 500 error.
In Apache, the…
I've seen a lot of tutorials showing one how to set up PHP/Python/Perl/RoR on nginx via various FCGI processes.
None of the tutorials that I found show one how to serve multiple FCGI services off one server.
How…
I'm currently on my placement year at uni with 4 months left.
Before working at my current place, I have not used a nix environment for web development and have used WAMP. Over the past year I have found some very…
I've been working primarily as a .net developer for the past 4 years for a financial services company. I've worked on .net 1.1, 2.0, 3.5 and have done the 3.5 enterprise app developer cert (not that that's worth a…
A little recap of what I have done ... and then my questions Q1, Q2 and Q3
1 - I developed a RoR app that I deployed on Heroku.
biowatts.heroku.com
2 - I bought a domain name at GoDaddy:
biowattsonline.com
…
Sorry for my English;
I was trying to create db with rake in RoR application that has been configured for MySQL(gem installed, settings changed).
After that attempt mysql-server broke:
d@calister:~$ mysql
ERROR…
I just finished working through Peter Cooper's "Beginning Ruby". So now I've got a reasonable grounding in the Ruby language and would like to move onto learning Rails.
This question's answers give some good…