Displaying 6 results from an estimated 6 matches for "blog_test".
Did you mean:
blob_test
2006 Jan 16
3
the dreaded "Before updating scaffolding from new DB schema, try creating a table for your model (Blog)" error
...ld Blog 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/
identical app/models/blog.rb
identical test/unit/blog_test.rb
identical test/fixtures/blogs.yml
error Before updating scaffolding from new DB schema, try
creating a table for your model (Blog)
my database
# MySQL (default setup). Versions 4.1 and 5.0 are recommended.
#
# Get the fast C bindings:
# gem install mysql
# (on OS X: gem inst...
2011 Mar 18
6
Could not find sqlite3
I am trying to get Ruby/Rails running on my mac but having some issues.
I created a new rails project "blog_test" trying to get something
working.
When I follow this guide
http://guides.rubyonrails.org/getting_started.html it says to do a
"db:create". This is where I get this error...
Could not find gem ''sqlite3 (>= 0)'' in any of the gem sources listed in
your Gemfile.
If...
2006 Jan 10
2
the dreaded error Before updating scaffolding from new DB s
Hi
I am pretty sure that this is a common nuby problem but I cannot figure
it out i try to run scfaoldong and get a error "Before updating
scaffolding from new DB schema, try creating a table for your model"
I have mysql set up and created the tables etc.
Derek
--
Posted via http://www.ruby-forum.com/.
2005 Dec 15
6
Code from famous RoR video?
Does anyone know where I could get text file with the code from the
famous video where they create a Weblog in 15 minutes -- The one that''s
here: href="http://rubyonrails.com/screencasts?
(I can''t just watch it here at work, and I''d like to avoid having to
re-type everything in any case.)
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Feb 09
2
postgres connection problems
...elow) trying to
get it to work, but no go. This should be real simple. Does any of u''s
see what I have done wrong?
---- database.yml ----
development:
adapter: postgresql
database: blog_development
host: localhost
username: blog
password:
test:
adapter: postgresql
database: blog_test
host: localhost
username: blog
password:
production:
adapter: postgresql
database: blog_production
host: localhost
username: blog
password:
---database.yml end----
TIA,
Sherman
--
Two wrongs don''t make a right, but... Two rights make a U-turn, and two
U turns make a cir...
2007 Apr 07
19
Constant 0.11.4 Errors
...d/transactions.rb:95:in
`transaction''
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/transactions.rb:121:in
`transaction''
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/transactions.rb:129:in
`save''
./test/unit/blog_test.rb:277:in
`test_published_blog_can_be_ferreted''
-- end snip --
Anyone run into a similar problem or have some suggestions? Thanks in
advance.
--
Posted via http://www.ruby-forum.com/.