search for: mrelat

Displaying 9 results from an estimated 9 matches for "mrelat".

Did you mean: mrelax
2006 Sep 01
2
Mrelation does not exists
Hello! I''m having the following error: RuntimeError: ERROR C42P01 Mrelation "subjects_users_id_seq" does not exist Fnamespace.c L200 RRangeVarGetRelid: SELECT currval (''subjects_users_id_seq'') when I try to do: subject= SubjectsUser.new(params[:subjects_user]) subject.save The models: class User < ActiveRecord::Base has_one :last_e...
2007 Oct 18
4
Feeding the framework ?
...ng, I love rpsec, but I seem to spend about 2/3 hours per week hunting down rspec problems. For example, today `rake spec:models` is broken. When I migrate, load fixtures and run `spec -cfs` all is well. When I run `rake spec:models`, there are no tables loaded. RuntimeError: ERROR C42P01 Mrelation "table_name" does not exist Any tips or checklists when problems arise ? Keith
2006 May 11
4
Legacy database problem
...onfiguration below ActiveRecord::Base.pluralize_table_names = false In class Product, I''ve added set_table_name "Products" however, if I try to list all the elements in the Products table (@products = Product.find(:all)) , I have the following error: RuntimeError: ERROR C42P01 Mrelation "products" does not exist Fnamespace.c L200 RRangeVarGetRelid: SELECT * FROM Products but when I create another table with name "products", it worked fine. Is there any way to solve this problem? Thank you very much! -- Posted via http://www.ruby-forum.com/.
2006 Aug 08
2
Testing Inconsistencies - ruby works rake fails
...n my unit tests using => ruby \test\unit\<filename.rb> each of the tests pass. If I run => rake test_units I get several failures, and they all have to deal with the same issue. For instance I''m getting => ActiveRecord::StatementInvalid: RuntimeError: ERROR C42P01 Mrelation "customers" does not exist Fnamespace.c L200 RRangeVarGetRelid: DELETE FROM customers Obviously I''ve checked and the customers table exists, and as I mentioned above, when I run => ruby test\unit\customer_test.rb all tests succeed. So I''m guessing there i...
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
..._2.1.1_R_393_17_03_2005_.pdf). They somehow use global ids (global for some tables). I can not change the schema and still I want to use Rails to access it and not pure SQL. When I try to insert a record I get the following message: ActiveRecord::StatementInvalid: RuntimeError: ERROR C42P01 Mrelation "parts group_id_seq" does not exist Fnamespace.c L200 RRangeVarGetRelid: SELEC T currval(''partsgroup_id_seq'') This is of course true, because of the global sequence.I did look into the postgres_adapter and found pk_and_sequence_for but I am only understandin...
2008 Nov 14
3
migration with data
...e everything is ok .I get sequence starts with 100 and the values like 100 Category1 101 Category2 102 Category3 But if I just migrate two migrations at once I get error -- execute("ALTER SEQUENCE categories_id_seq RESTART WITH 100;") rake aborted! RuntimeError: ERROR C42P01 Mrelation "categories_id_seq" does not exist Fnamespace.c L273 RRangeVarGetRelid: ALTER SEQUENCE categories_id_seq RESTART WITH 100; Could you please tell why this happens? Thanks in advance Sijo -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-...
2006 May 12
0
Using primary key that is not named "id"
...INT NOT NULL auto_increment). set_primary_key "ProductID", is added to the Product class Then I used >ruby script/generate scaffold Product Admin to generate my controllers. When I try to insert a new product in the products table, it gave me this error RuntimeError: ERROR C42P01 Mrelation "product_productid_seq" does not exist Fnamespace.c L195 RRangeVarGetRelid: SELECT currval(''Product_ProductID_seq'') What does this mean and is what can I do to solve this? Thank you! -- Posted via http://www.ruby-forum.com/.
2007 Oct 18
0
rake spec:models failing
...bin/spec" "spec/models/account_spec.rb" --options "/Users/kmcd/tmp/test_app/config/../spec/spec.opts" failed =========================== In my older project the tables aren''t loading into the test database. All specs fail with: RuntimeError: ERROR C42P01 Mrelation "table_name" does not exist I''ve checked my other rspec & rails projects -- they''re fine. I''ve also checked out previous revisions of the failing project which ran `rake spec:models` successfully. They all now fail with the same error (no tables in t...
2012 Jun 27
3
[Bug 795] New: RELATED doesn't accommodate multicast UDP solicitation resulting in unicast reply
...ROL: max-age=130 DATE: Sat, 16 Jun 2012 16:37:49 GMT EXT: LOCATION: http://192.168.1.1:2869/gatedesc.xml SERVER: Linux/2.6.15 UPnP/1.0 ST: urn:schemas-upnp-org:device:WANConnectionDevice:1 USN: uuid:687f7406-7b12-627f-740::urn:schemas-upnp-org:device:WANConnectionDevice:1 A new value like "MRELATED" should be added to handle multicast requests resulting in unicast replies. See also: https://bugzilla.redhat.com/show_bug.cgi?id=832733 -- Configure bugmail: http://bugzilla.netfilter.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee...