Displaying 20 results from an estimated 9000 matches similar to: "rails on Oracle 10g - missing controller ?"
2009 Feb 20
6
rails 2.2.2 does not work with ruby 1.9.1
Hi everyone! I''ve installed new Ruby 1.9.1 from sources
(http://www.ruby-lang.org/en/), then "gem install rails", everything was
ok during installation, all tests ("make test") were ok too.
After all, i wanted to create my new RoR project, but I could not start
it.
Plz help me
Here is my terminal:
[renat@localhost rails]$ rails mysite
create
create
2011 May 10
7
Webrick script/server file does not exist
Hello all,
I worked fairly enough with PHP and MySQL, but am very new to Ruby.
I have Windows machine with Apache and MySQL installed previously.
Both Apache and MySql were stopped while installing Ruby.
I tried several ways to install Ruby 1.8.7 and one-step installer.
I can use Ruby with netbeans 6.0.1 with its own Ruby or with the one I
installed now.
The problem starts when I try to create
2009 Dec 20
3
Noob Install Failed 0.0.0.0:3000
Happy Holidays,
I am new to RoR and have just run through the install, which well
seemed to be vaquely documented as some ''Do this'' type of thing on
the http://rubyonrails.org/download page.
download gem
setup.rb
gem install rails
rails path/to/your/new/application
cd path/to/your/new/application
ruby script/server
and then ( drumroll ) ....
Follow the instructions on
2006 Jan 07
2
hosting with Pair : Rails'' app dies after a few seconds
First of all thanks a lot to the guys who answered the other topic.
Host: Pair Networks - FreeBSD v.4.8-Stable - peulik.pair.com
PHP and MySQL services running (is this a problem?)
First of all, after I establish the ssh connection I''ve to type, as I
mentioned in the old thread,
GEM_PATH ~/lib/ruby/gems/1.8
otherwise the ruby installation is not found.
position of the executable:
2012 Aug 08
5
Error Bundler
Any body can help me!
i try create a new project, at the end i had message
error bundler.
root@xxx:/home/xxx# rails new depot_b
create
create README.rdoc
create Rakefile
create config.ru
create .gitignore
create Gemfile
create app
create app/assets/images/rails.png
create app/assets/javascripts/application.js
create
2010 Dec 06
10
testing chapter: agile web dev withrails
I am working my way through Agile web development with rails and I''m in
the testing chapter.
when I run the following test(or any other test)
I''m new and not sure where to start looking.
require ''test_helper''
class ProductTest < ActiveSupport::TestCase
# Replace this with your real tests.
test "the truth" do
assert true
end
end
I
2006 May 24
12
Analog to ruby script/generate for removing generated stuff?
All,
If I do ruby script/generate model blah,
is there an easy way for me to remove all of that stuff that got
generated?
Something like:
ruby script/remove model blah?
If it doesn''t exist, is it coming?
Thanks,
Wes
--
Posted via http://www.ruby-forum.com/.
2013 Apr 09
2
Getting Started
So far I''m disappointed with what I see as red flags. I follow along what
seems like foolproof instructions. I install everything, rails new
/some/new/app cd to the directory and rails server and my worst fears
cryptic useless stack trace...so I copy the top line, search for stuff on
this sqllite3 adaptor to fix it, I type the gem install command it mentions
(gem install
2013 Mar 14
3
Error: did not find expected key while parsing a block mapping
I run test:
test:units
lass ProductTest < ActiveSupport::TestCase
test "product attributes not be empty" do
product = Product.new
assert product.invalid?
assert product.errors[:title].any?
assert product.errors[:description].any?
assert product.errors[:price].any?
assert product.errors[:image_url].any?
end
test "price musst be
2007 Apr 26
8
Win32 service - Errno::EINVAL (Invalid argument) when uploading image file
Hi guys,
I''m facing an error trying to run my app as mongrel_service, hope those who
have faced similar issue can help to shed some lights.
The app was fine when running from console, but when running it as a
service, it failed when I try to upload ''image file'', it has no issue
uploading other types of files.
Environment:
------------
mongrel (1.0.1, 0.3.13.3)
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2008 Feb 01
2
Facebooker interfering with existing application
Hi!
I have an existing application, basically a very simple Hobo app. It
works...
When I install the Facebooker plugin and create the facebooker.yml file
(with valid or fake content, doesn''t matter), the original app starts
behaving strangely.
The controller and view logic keeps working, but several static files stop
being served from http://localhost:3000/javascripts and start being
2007 Sep 19
3
Rails cannot connect error after updating using ruby and rails to slightly newer versions
I am on a mac. Have been developing using a manually installed
(according to the hivelogic instructions) ruby, rails, gems, mongrel
setup. Life was good.
When I noticed that my ruby version was out of date, I decided to
switch to using macports to maintain the software on my mac. I used it
to install a new ruby and gems, and then used gems to get the latest
rails. Life seemed to be good.
Next I
2009 Feb 21
10
Problem with test_truth
hello all,
i have a problem with test_truth.
require ''test_helper''
class MyDataTest < ActiveSupport::TestCase
def test_truth
assert true
end
end
this should ok without failures or errors. but it failure:
1) Error:
test_truth(MyDataTest):
ActiveRecord::StatementInvalid: Mysql::Error: Table
''alldataserver_test.members'' doesn''t exist: DELETE
2008 Feb 18
5
uh... fixtures?
RSpec-ers:
I''m aware this is quite the FAQ. I have probably asked it myself, but I just
can''t Google up anything but others asking it.
I grabbed the source to Beast, to use as a Rails project uninfluenced by me, or
RSpec. Then I installed the CURRENT version of RSpec and rspec_on_rails, and set
up a model spec on Post.
Here''s the spec_helper.rb lines:
2006 Mar 07
3
STI and unit testing
Hi all, I''m having a bit of a problem with unit testing. I''ve simplified my
models to try and get my head round it but I''m still struggling. I''m using
STI and trying to write tests for the extended models (code below). I''ve
written test cases for the extended models which themselves extend the test
case for the parent model, so BarTest extends
2006 May 01
3
mongrel_cluster-0.1.1: the bird dog (capistrano support!)
Hey y''all:
mongrel_cluster provides management tools for running Mongrel behind
a reverse-proxy/load balancer. It is an extraction from Rails
Machine, a deployment service and Ruby library that simplifies Rails
application deployment. This release fixes bugs and adds a Capistrano
task library.
Changes:
-changed pid file format to include port
-only write configuration options
2006 Jan 08
1
Using many-to-many relations in tests
Hello,
I have some many-to-many relations, I would like to use in my tests. But
I''m not sure what I should put in the fixtures for it?
How do I add those relations in the testing environment?
Greetings,
Gitte Wange
2006 Jul 29
6
Complex tests - use a DSL instead of fixtures
I''ve been finding I use fixtures less and less lately. I am working with
rather complex testing of code that does data analysis. Each test may
involve 5-10 tables and some of the data is different in nearly every
test. I''ve found it much more readable to build a mini-DSL for the
setting up the database rather than using a huge amount of fixtures. It
has the added benefit of
2011 Apr 26
1
problem populating table using rake db:fixtures:load
I''m running Rails 3 and I''m trying to populate a table using rake
db:fixtures:load, and I''m getting a "Could not find" file error.
The table is called stores, and I''ve confirmed that it exists, and the
data is in stores.yml in my test/fixtures directory. The command I''m
running is rake db:fixtures:load FIXTURES=stores.
The error message