Displaying 6 results from an estimated 6 matches for "demo_app".
2012 Oct 16
5
`method_missing_without_paginate': undefined method `class_attribute' for ActiveRecord::Base:Class
...ot;script/server -e production -p 3001"
error:
=> Booting WEBrick
=> Rails 2.3.4 application starting on http://0.0.0.0:3001
config.gem: Unpacked gem rack-rewrite-1.2.1 in vendor/gems has no
specification file. Run ''rake gems:refresh_specs'' to fix this.
/home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/railties/lib/rails/gem_dependency.rb:119:Warning:
Gem::Dependency#version_requirements is deprecated and will be removed on
or after August 2010. Use #requirement
/home/bacancy/Demo_app/smart/vendor/radiant/vendor/rails/activerecord/lib/active_record/base.rb:195...
2012 Sep 18
2
NoMethodError with rake db:migrate
Hi! First of all, this is my first application on Rails, and i''m stuck at a
migration. i created a demo app (the demo_app from michael hartl''s
tutorial) as usual: rails new demo_app, rails generate scaffold User
name:string email:string, and when i do rake db:migrate, this stack appears:
rake db:migrate --trace
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** I...
2013 Oct 21
8
git push not working
...l.org/ruby-on-rails-tutorial-book#sec-git_push
I''m trying to push the repository to the remote site but what ever I fials.
I''ve updated, removed the s of the https etc but still can not push. using
command
when I use command:
$ git remote add origin https://github.com/natmanu/demo_app.git$ git push -u origin master
it then requests my email and password then returns an error. please see attached screen shot for error.
tia
Nat
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group a...
2008 Dec 02
1
Using Rspec for web tests
...before method.
But my question is where should I put the two lines of code that creates an
instance of FunFx so that all the it "should .. " uses the same @flex
instance, that should be created just once in for each describe?
describe "DemoApp" do
before do
browser.goto(DEMO_APP)
@flex = browser.flex_app(''DemoAppId'', ''DemoAppName'')
end
it "should click on a checkbox" do
# do somthing
end
it "should assert that it is checked" do
# do something
end
end
- Peter
-------------- next part -----------...
2012 Sep 16
0
tutorail test writing problem
Hello,
I try to follow this tutorial :
http://ruby.railstutorial.org/ruby-on-rails-tutorial-book
Im now at chapter 3.2.1.
But the test is still failing even if I do everything according to the
chapter.
My code can be found here : https://github.com/roelof1967/demo_app
And the faiing message is :
Failures:
1) Static pages Home page should have the content ''Sample App''
Failure/Error: visit ''/static_pages/home''
NoMethodError:
undefined method `visit'' for
#<RSpec::Core::ExampleGroup::Nested_1::N...
2013 Oct 23
9
rails generate scaffold - ERROR
Hi,
I just installed ROR using the rvm using these instructions:
http://ryanbigg.com/2010/12/ubuntu-ruby-rvm-rails-and-you/
Using Ubuntu 12 on VirtualBox
I''m trying to create a demo_app
rails generate scaffold User name:string email:string
gives me this error:
--
/home/natmanu/.rvm/gems/ruby-2.0.0-p247/gems/execjs-2.0.2/lib/execjs/runtimes.rb:51:in
`autodetect'': Could not find a JavaScript runtime. See
https://github.com/sstephenson/execjs for a list of available runt...