Displaying 3 results from an estimated 3 matches for "mesafire".
Did you mean:
mediafire
2005 Dec 12
9
Webrick is being stupid...no info on a brand new project
I created a project, made a migration, generated scaffolding...start
up webrick and I get nothing. To simplify things, I just started
another project and generated a controller, still getting nothing.
The index page loads fine, but nothing beyond that. If I go to
anything that should give me a 404, the page is just blank. The
Webrick console just says a 500 (nothing explaining why), and
2005 Dec 14
0
One of my attributes is nil, but it shouldn''t be
This is driving me crazy. When I create a new object in console, the
attribute is not nil. When I create a new object in my unit test, the
attribute is nil. What gives?
baggio:~/work/mesafire pergesu$ ./script/console
Loading development environment.
>> e = Event.new
=> #<Event:0x234a514 @attributes={"name"=>nil, "timexstring"=>"",
"description"=>nil}, @new_record=true>
>> e.timexstring.nil?
=> false
def test_...
2005 Dec 12
2
Using a lib in YAML fixtures
...escription: This event occurs only one time.
timex: <%= REYear.new(7) & REMonth.new(24) & REDay.new(3, 0, 17, 0) %>
If I try to load in the fixture, I get the following error:
1) Error:
test_create(EventTest):
Fixture::FormatError: a YAML error occured parsing
/Users/pergesu/work/mesafire/config/../test/fixtures/events.yml.
Please note that YAML must be consistently indented using spaces. Tabs
are not allowed. Please have a look at http://www.yaml.org/faq.html
The exact error was:
NameError: uninitialized constant REYear
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.1/lib/acti...