search for: products_id_seq

Displaying 3 results from an estimated 3 matches for "products_id_seq".

2007 Nov 25
15
Possible Problem with RSpec and
...I would like to know now is why I am getting a rake failure error at the end of every spec:models run. Is this the expected behaviour when a test / expectation fails? ---> C:\var\RSpec\depot>rake spec:models (in C:/var/RSpec/depot) NOTICE: CREATE TABLE will create implicit sequence "products_id_seq" for serial column "products.id" NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "products_pkey" f or table "products" Product - should have a valid image uri (PENDING: Not Yet Implemented) - should have a description - should have a title (FAILED...
2005 Nov 30
8
nested attributes with update_attributes()
Hi, I am trying to use the update_attributes on object with nested attributes and I am getting the following error: ProductPrice expected, got HashWithIndifferentAccess Here''s the situation (simplified): class Product < ActiveRecord::Base belongs_to :productPrice end class ProductPrice < ActiveRecord::Base has_one :product, :dependent => true
2007 Nov 22
11
Initial run of RSpec 1.0.8 on MS-WinXPproSP2
Rails 1.2.5 Ruby 1.8.6 Rake 0.7.3 RSpec 1.0.8 PostgreSQL 8.2.5 I am experiencing a problem with the "rake spec spec" task on an initial trial of rspec. After creating the rails app I installed rspec and rspec_on_rails in the vendor\plugins subdirectory from svn. I then used ruby script\generate rspec_model product. I next manually created the database instances depot_development and