similar to: Multiple references of Country table in single client table

Displaying 20 results from an estimated 11000 matches similar to: "Multiple references of Country table in single client table"

2006 Jan 13
4
missing foreign key fields in scaffold views
Is there any reason that foreign key fields do not show in any of the scaffold views ? project table: id serial primary key, category_id integer, user_id integer, name varchar, morestuff varchar foreign key (category_id) references categories(id), foreign key (user_id) references users(id) scaffold generated views only show name, morestuff fields
2006 Feb 27
3
form questions
I have a very simple form that looks allows an input for an error code and then give the show page from the scaffolding if the error code is in the database and a notification on the list page, again from the scaffolding if not. Here''s the form: find.rhtml <h1>Find error</h1> <%= start_form_tag :action => ''search''%> <p><label
2006 Jan 12
9
Scaffold shows all attributes altough I use attr_accessible!
Hi all I have a Model like this: class Member < ActiveRecord::Base attr_accessible :username, :email, :first_name, :last_name end I have created a scaffold using script/generate scaffold member members Using the URL localhost:3000/members/edit/1 I can edit all attributes, including created_at, lock_version etc.! But it should only show the attributes I listed in attr_accessible! What
2019 Jan 09
1
[QEMU-KVM] Centos guest VM freezing
On 1/9/19 10:24 AM, Akshar Kanak wrote: > Dear team > ? ? I am running a centos guest VM? which freezes for every few days . > The qemu-kvm on? shows 100% cpu utilization. > ? ? Ping to the guest might work or may not work .Please can you tell > me what approach can i take to debug it . > ? ? using "virsh dump" I can dump the core of the? guest vm but I am > not
2019 Jan 09
2
[QEMU-KVM] Centos guest VM freezing
Dear team I am running a centos guest VM which freezes for every few days . The qemu-kvm on shows 100% cpu utilization. Ping to the guest might work or may not work .Please can you tell me what approach can i take to debug it . using "virsh dump" I can dump the core of the guest vm but I am not sure how to analyse it . Guest Centos VM : "Linux GUESTCentOS70
2019 Jan 09
1
[QEMU-KVM] Centos guest VM freezing
Hi Thanks for the reply We have seen the same guest VM freezing on vmware ESXi machine also , so we were interested in know in the internal condition of the guest vm when the freeze happened How can we analyse the core file generated by "virsh dump " Thanks and regards Akshar On Wed, Jan 9, 2019 at 1:58 PM Manuel Wolfshant <wolfy at nobugconsulting.ro> wrote: > On 1/9/19
2006 May 10
2
trouble creating new records
Is it possible to create / save a new record from a controller other than the one I specified when I created the scaffolding? My situation is that I have two tables. Emrecs is the parent. Actors is the child and has a foreign key named emrec_id that references emrec.id. I scaffolded both, creating controllers and views for each. My app collects info from the user to fill in the two tables,
2019 Jan 09
1
[Qemu-KVM] Centos 7.0 Guest vm freezing
Dear team I am running a centos guest VM which freezes for every few days . The qemu-kvm on shows 100% cpu utilization. Ping to the guest might work or may not work .Please can you tell me what approach can i take to debug it . using "virsh dump" I can dump the core of the guest vm but I am not sure how to analyse it . Guest Centos VM : "Linux GUESTCentOS70
2006 Feb 27
8
Newbie question - Automatically update _form.rhtml?
Hi all, I''ve got an odd issue. I''m new to Ruby/Rails and have a bit of a silly question. I''m following along with the nice little tutorial here, to get an idea of the system: http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=3 However, I''m running into an issue where the author adds a new field in his database, refreshes the browser and shows
2006 Jan 23
2
scaffolding generators and pluralization rules
I''ve been working through the "Rolling with Ruby on Rails" tutorial and have come up against something I''m hoping someone here can help me understand. In part two of the tutorial, Curt introduces the "ruby script\generate scaffold re -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Nov 21
6
How thorough do you test?
Testing models is great and would not be able to create anything without it, but I am finding testing the controllers and views is a pain. Rest based controllers don''t seem to change that much when compared to the auto-generated code that obviously works. As for views I fail to see why testing it with a mock model does anything. Nothing is ensuring that when changes are made to the
2006 Jan 19
4
A simple scaffolding question
All, When I generate scaffolding on my model, it doesn''t display all the fields in the create and edit views. It populates the views with text/char and date types, but omits any integer fields. Is this normal behavior or a bug? Thanks! -Nick
2006 Aug 13
5
Newbie question: scaffold not working
I went through a tutorial at http://www.onlamp.com/pub/a/onlamp/2005/01/20/rails.html?page=1 to get started with RoR. I really like the idea of the scaffold construct, but I can''t seem to get it to work the way it was described in the tutorial. I''ve got a mysql database that is properly configured, and a table called ''quotes'' with a column called
2004 Oct 07
2
re:re:help
yes used rpm- 20040914-1fc1winehq... i do the rpm -ivh when i goto install say a windows exe i type wine " theprogram exe" and it goes thur a what seems to be a instlal of fonts then stops and redhat crashes yes it crashes.. locks rite up on me ...i have no clue what else to do i try a rpm -e program name and nuffin there to uninstall how did you install it ? by rpms ? I install
2006 Mar 15
10
Scaffold with Foreign Key
I have two tables: ------------------------------ drop table if exists users; create table users ( id int not null auto_increment, username varchar(100) not null, password varchar(20) not null, firstname varchar(20) not null, lastname varchar(20) not null, primary key (id) ) TYPE = InnoDB; ------------------------------ drop table
2006 Jan 27
6
Scaffolding to use has_many and belongs_to ?
What does everyone on this list think about enhancing scaffolding somehow so that a "has_many" relationship will automatically drop the <select> box into the view to reference the "belongs_to" part of the view? I think scaffolding is great but I am always adding the <select> boxes to reference the parent association. Do you think this would be useful? just a
2006 Mar 23
6
easy scaffold question(s)
I''m doing very well with the Hibbs Rolling on Rails tutorial. I have an easy question for my personal notes. I''m coming up with a simple framework of steps for creating a basic database. It includes the following maxims to make original app creation easy: app_name = MySQL database name SQL_tablename = model_name model_name = controller-name Is this going to work for getting
2006 Mar 20
1
Aterisk with Realtime
Hi iam working with asterisk with mysql Realtime when i have confgured and run the asterisk iam getting the following error i dig all the places for help could not find the results could some one help me what is wrong iam using 1.2.5 on FC4 Mar 20 23:04:52 NOTICE[2054] cdr.c: CDR simple logging enabled. Mar 20 23:04:52 NOTICE[2054] indications.c: Removed default indication country
2006 Oct 27
1
link_to
Hi there. Is there a way i can have my link_to refer outsite the current controler ? I have a path /refrences/ wich lists the refrences, and i want a link_to in this template, to refer to the path /companies/show/company.id is this possible ? I have tried using: ink_to ''link'', :action => ''/companies/show'', :id => company.id but with no luck, is
2006 Jan 12
8
Scaffolding support for many-to-many editing (habtm)?
Like with simple table editing, there are also typical ways of how a user usually interacts with one-to-many or many-to-many relations. For example, one would show the fields of one row of table1 in the screen and below a line-by-line view of all associated entries in table2. Then, one could press an "Edit" button and add or delete rows from table2 to this entry of table1,