similar to: some observations..

Displaying 20 results from an estimated 60000 matches similar to: "some observations.."

2006 Jul 09
1
connecting to sqlite3
I''m having problems connecting to sqlite3. Here is what my config file looks like: development: adapter: sqlite3 dbfile: /tmp/db/test.db test: adapter: sqlite3 dbfile: /tmp/db/test.db Running migrations causes this error to be thrown: g4:~/sites/rails/test smtlaissezfaire$ rake migrate (in /Users/smtlaissezfaire/Sites/rails/test) rake aborted! no such file to load -- sqlite3
2009 Feb 15
0
Radiant 0.7.1 - Engraving Release (bugfix)
Looks like it''s time for another release of Radiant: http://radiantcms.org/download/ Radiant 0.7.1 Engraving is a bugfix release that corrects two errors in the user-interface. The contents of page-parts will now maintain escaped HTML characters across saves, and the tag reference will now properly display when ''<normal>'' is selected as the page type. The
2006 Jul 09
2
Error using sqlite3
Hello, I''m trying to use sqlite3 and I''ve followed the steps here : http://wiki.rubyonrails.org/rails/pages/HowtoUseSQLite However I get the error above (uninitialized constant API) when trying to run a migration. I''m under Windows XP, using cygwin, the sqlite3.dll file is on the lib directory of my rails app (filemon, an utility that reports file access attempts
2009 May 12
2
rails 2.3.2 is not generating environment.rb properly
problem: rails 2.3.2 is not generating config.action_controller.session_store = :active_record_store in environment.rb this is the code in environment.rb --------------------------------------------------------------------------- # Be sure to restart your server when you modify this file # Specifies gem version of Rails to use when vendor/rails is not present RAILS_GEM_VERSION =
2007 Jun 02
2
Unit tests breaks with sqlite
Hi, I''m using an sqlite3 database with Rails and have some trouble running unit tests What I''ve done is * rails my_app * edited database.yml to use sqlite3 adapter, db/my_app_development and db/my_app_test * ruby script\generate model user * edited model class User < ActiveRecord::Base validates_presence_of :name validates_uniqueness_of :name end *
2008 Jul 27
1
Radiant CMS 0.6.8 "Incise" Release
Looks like it''s time for another release of Radiant: http://radiantcms.org/download/ Radiant 0.6.8 "Incise" adds a number of new features that enhance support for extensions and completes the project''s move to github. Of special note are: * Extension installer/uninstaller scripts (script/extension) and a global ''extension registry'' at
2011 Mar 22
2
Problems with SQLite3
Hi! I''ve got a very strange problem. Suddenly the SQLite3 Backend stopped working. Example 1: > rake db:rollback == CreateProducts: reverting ================================================= -- drop_table(:products) rake aborted! An error has occurred, this and all later migrations canceled: SQLite3::SQLException: near "CASCADE": syntax error: DROP TABLE
2006 Jun 15
6
Sqlite3 test fails in Rails app
Greetings: I am using Sqlite3 database with my Rails app. When I try and run "rake tests" for the app it always fails with the error: ** Invoke default (first_time) ** Invoke test (first_time) ** Execute test ** Invoke test:units (first_time) ** Invoke db:test:prepare (first_time) ** Invoke environment (first_time) ** Execute environment ** Execute db:test:prepare ** Invoke
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
2006 May 24
7
migrations and SQLite
I read in the instructions of Tracks that "upgrading via the rake migrate command is quite a bit more tricky currently with SQLite and SQLite3". Is there any gotcha regarding migrations and SQLite3? -- fxn
2010 Jul 03
0
** Execute environment rake aborted! Could not find table 'pages'
Hey, I''ve googled this pretty thoroughly and saw a couple people with the same issue but none of the solutions worked for me. Background: I am trying to upload my Radiant CMS site to Heroku. Location: http://morning-frost-41.heroku.com/ Problem: Well on Heroku, the thing that really stands out it: PGError: ERROR: relation "pages" does not exist Pages refers to a table within
2009 Apr 21
2
problem with sqlite3....
Hi all, I am relatively new to ruby and RoR. I created a simple rails proj named foo by giving command -> rails foo --database=sqlite3 It created a new rails proj.. So in that I created a simple db class named user by using the below command -> ruby script/generate model user so in db/migrate I got a file named 20090421211825_create_users.rb created. and in app/models : user.rb got
2005 Dec 23
2
SQLite in-memory
I left ":memory:" in database.yml for testing and the most simple tests in the Agile book do not work (see trace below for test_truth). Since that''s what comes with the distributed database.yml I suppose it''s me doing something wrong. Did someone get SQLite ":memory:" working? How does it grab the schema? -- fxn % rake test_units (in
2007 Mar 01
1
Problems with RC1 & Rails Controllers
I''m now using the 0.8.0 RC1 gem and have the same version of rspec and rspec_on_rails checked out into my vendor/plugins directory. I''m having a problems with controllers... I''ve generated a controller using the ./script/generate rspec_controller MyController. When I try to run the rake spec:controller task I get the following: euclid% rake spec:controllers (in
2006 May 11
2
Unit tests fail with sqlite3 and rails 1.1
Hello all, I''m kinda going through a rocky upgrade to rails 1.1 and I can''t find much on google about this. When I run my tests I get this: $ rake (in /home/www/art2) /usr/bin/ruby -Ilib:test "/usr/lib/ruby/gems/1.8/gems/rake-0.7.1/lib/rake/rake_test_loader.rb" "test/functional/panoramas_controller_test.rb"
2011 Feb 19
1
undefined method `map' for nil:NilClass for rails 2.3.2
Hai guys! When i try to do rake gems:install and rake gems:refresh_specs in my app below error is occurred. please give some solution for this. config.gem: Unpacked gem authlogic-2.1.3 in vendor/gems has no specification file. Run ''rake gems:refresh_specs'' to fix this. rake aborted! undefined method `map'' for nil:NilClass enivorment.rb RAILS_GEM_VERSION =
2008 Jul 01
14
rake aborted! Could not find table ...
I am getting a rake aborted error and I suspect that I am missing a package on my system since the app works for a friend on this computer. Here is the terminal output of the error: anita@anitas-computer:~/sandbox/shovell$ rake db:migrate (in /home/anita/sandbox/shovell) rake aborted! Could not find table ''stories'' (See full trace by running task with --trace)
2008 Apr 08
1
Help with primary_key_prefix_type
I put this config in environment.rb # Use table_id instead of id for primary key. config.active_record.primary_key_prefix_type = :table_name_with_underscore I have this migration: class CreateEntities < ActiveRecord::Migration def self.up create_table :entities do |t| t.string :entity_name, :null => false, :limit => 40 t.string
2011 Sep 25
2
Noob Rails patcher - problems running the sqlite3 tests...
Hi, I am following the guide here: http://guides.rubyonrails.org/contributing_to_ruby_on_rails.html I have an ubuntu 11.04 VM setup, installed rvm, and ruby (ruby 1.8.7 (2011-06-30 patchlevel 352) [x86_64-linux]). Pulled down the rails from github and created a 3.0 branch: $ git branch --track 3-0-stable origin/3-0-stable $ git checkout 3-0-stable I can run the non-db tests ok, all pass
2008 Apr 28
3
connecting database with railo
i m not able to connect to database I am create my rails folder i get database.yml file in this format # SQLite version 3.x # gem install sqlite3-ruby (not necessary on OS X Leopard) development: adapter: sqlite3 database: db/development.sqlite3 timeout: 5000 # Warning: The database defined as ''test'' will be erased and # re-generated from your development database when