Displaying 20 results from an estimated 10000 matches similar to: "Bad file descriptor during scaffold generation"
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
2006 May 03
6
Scaffold Generation Problem
Greetings all,
I''m sure there is probably a very obvious reason for the following
problem. However, after much hair pulling, I am just not seeing it yet.
As you can see from the trace below, I am not able to complete scaffold
generation due to some problem between rails and mysql. I double
checked MySQL to make sure both my Ruby user and Root user have full
rights to the database.
2005 Oct 25
2
generate scaffold ignores controller parameter
Since I upgraded from Rails 0.13.1 to 0.14.1 "generate scaffold <Model>
<Controller>" doesn''t take any notice of the controller parameter. Anyone
else suffering from this? E.g.:
C:\Ruby\work\test>ruby script\generate scaffold User Admin
exists app/controllers/
exists app/helpers/
create app/views/users
exists test/functional/
2006 Aug 17
6
NameError in AdminController#index building scaffold
I''m a pretty big newbie with ROR, but when following a tutorial I
encounter an ugly error when building a scaffold. Here is my
environment
Dev system:
- Windows XP
- java version "1.5.0_06"
- MySQL java version "1.5.0_06"
- Ruby 1.8.4
- Ruby Gems 0.9.0
- Gem install mysql
Successfully installed mysql-2.7.1-mswin32
Installing ri documentation for
2006 Apr 28
2
Accessing fixtures from unit tests
I have set up some fixtures in test/fixtures/users.xml:
# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html
admin:
id: 1
username: admin
password: admin
pbarry:
id: 2
username: pbarry
I have a unit test for my user model:
require File.dirname(__FILE__) + ''/../test_helper''
class UserTest < Test::Unit::TestCase
fixtures :users
def
2006 Oct 30
0
OT: RadRails fails to open
Not sure what happened so I thought I''d throw it out. I''m considering
re-installing but thought before I did that perhaps someone has an easier
fix
!ENTRY org.eclipse.osgi 4 0 2006-10-30 05:26:37.296
!MESSAGE Application error
!STACK 1
java.lang.NoClassDefFoundError: org/eclipse/core/resources/IProject
at
2006 Jun 01
5
RAD RAILS Problem. Wont start! Linux nubee
Hi
I''ve just installed SUSE linux, downloaded RADRAILS, and extracted it to
/home/myname/bin/radrails.
When i try to run it i get the red radrails logo and then it gives me an
error and stops loading. Its my first day using Linux, previously i
have used windows, so any help is greately appreciated. Here is the log
file with the errors in it :
chrisr@s213:~> cat
2006 Feb 26
2
Help - WEBrick won''t start - "Bad file descriptor" error
I have been working for a few days on a new (Windows) system, and
suddenly WEBrick won''t start. Full error text is at bottom of message.
It began after I followed Brian Hogan''s (terrific!) instructions for
setting up Eclipse w/Rails in Windows
(http://www.napcs.com/howto/railsonwindows.html). The server started
fine from w/in Eclipse when I reached that part of the instructions,
2006 Mar 01
1
maddening intermittent failures in unit tests with "working" code
Hi all,
This testing problem has been a sink for time today, and is still unresolved.
Basically I have some unit tests that test simple functions (example below)
that depend on join operations in a habtm relationship, and I suspect I am
getting "false" failures, i.e ones that do not logically make any sense. I
need fresh sets of eyes to take a look and see if I''m mising
2006 Apr 20
1
generate scaffold not generating views
Hi!
Sorry for the newbie question...
I''m following the depot example in AgileWebDevelopmentWithRails.
Stangelly, generating scaffolding using the command (page 53):
./script/generate scaffold Product Admin
does not generate any .rhtml file, but just:
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
2006 Aug 18
3
Understanding MVC - view customization after using scaffolds
All,
I have ordered AWDWR and am anxiously awaiting its arrival. In the
meantime I still am playing with ROR using radrails. I have a few
questions ...
I create a table named customers with the following details:
Field Type Null Key Default Extra
id int(11) NO PRI auto_increment
customer_name varchar(50) NO
inbound_retention int(11) NO
outbound_retention int(11) NO
unix_admin_email
2006 Sep 06
2
eclipse and radrails problems?
Ive been trying all day to get either eclipse or radrails to work on my
machine but I must be doing something wrong. If anyone could help Id be
much appreciated.
Im using windows xp. I first downloaded radrails and it looked ok, but
when I create a new rails project absolutely nothing is inside of it???
If I manually create the project in the command line it works fine and
the server
2006 Jun 28
9
Scaffold Issue with Postgres
Hi guys,
I''ve been able to successfully install the postgres adapter for a remote
database machine to get rails up. My machine is running on Fedora 2.
Rails version 1.1.2. Is my yml config correct? I am getting this error
when I execute script/generate scaffold service_contents content :
exists app/controllers/
exists app/helpers/
create app/views/spiel
exists
2006 Oct 02
1
Scaffold problem with PostgreSQL
We are having a problem scaffolding with PostgreSQL. We are following the
depot tutorial from the AWDWR and it gives problems:
$ ruby script/generate scaffold Product Admin
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/
dependency model
exists app/models/
exists test/unit/
exists test/fixtures/
2006 Mar 03
0
error running generate scaffold - doesn''t see table which is there
Hi
I''m trying to get some basic stuff working from the "Agile Web Dev with ROR"
book - chapter 6 "Create the Maintenance App". (On linux, mysql 4.1, ruby
1.8.4)
I have the depot_development db created, and teh "products" table definitely
exists.
The user name and pw are correct in database.yml
But I get this:
<snip>
daniel@roomatthetop:~/work/demo$
2008 Feb 21
1
Creating incorrect plurals when generating scaffold
Preface: I''m trying to find my way through the "Build Your Own Ruby on
Rails Web Application" book. I''m completely new to programming and am
having a hard time figuring out the differences between rails 2.0.2 and
what''s in the book so please forgive me if this is a stupid question.
I''m confused because I finally thought I''d figured out the
2006 Mar 25
0
Re: Rails Digest, Vol 18, Issue 654
Radrails! Certainly complies with what you are looking for and much more.
(Ctrl-Shift-V to toggle the editor between Model and View, for example).
Runs as a standalone application, or as a feature (plugin) on the Eclipse
platform. Cross platform either way.
Then there''s the cost: it''s free!
RadRails: http://www.radrails.org/
(Just one the award for best open source Eclipse
2009 Jan 07
1
Problems with EasyEclipse Ruby Rails 1.2.2.2
Hi,
I''m a real newbie both in Rails and Ubuntu but I''m going to learn Ruby
on Rails for a schoolproject. I''ve tried to find out what IDE is best
according to different tutorials and blogs and have chosen to download
easyeclipse-ruby-rails-1.2.2.2.tar.gz.
My problem is that when i start the program an error popup is shown:
"An error has occurred. See the log file.
2006 Mar 29
6
RadRails Broke with 1.8.4 / 1.1
I''ve been using the radrails eclipse plugin with ruby 1.0 & Rails 1.8.2
up until this morning... I just installed Ruby 1.8.4 (one-click
installer rc1) and Rails 1.1. Now the rails eclipse plugin does not
seem to be aware of how to run ruby and has lost the ability to start
the webrick server. I''m sure it''s a simple configuration issue but the
radrails
2006 Apr 20
8
generate scaffold not generating views
Hi!
Sorry for the newbie question...
I''m following the depot example in AgileWebDevelopmentWithRails.
Stangelly, generating scaffolding using the command (page 53):
./script/generate scaffold Product Admin
does not generate any .rhtml file, but just:
exists app/controllers/
exists app/helpers/
exists app/views/admin
exists test/functional/