search for: service_id

Displaying 11 results from an estimated 11 matches for "service_id".

Did you mean: service_io
2005 Mar 04
3
optimization
...;show"} [4;35mPerson Load (0.219000) [0;37mSELECT * FROM people WHERE id = ''1'' LIMIT 1 [4;33mPerson Columns (0.203000) [1;37mSHOW FIELDS FROM people Rendering person/show within layouts/xhtml11common [4;35mAccount Load (0.203000) [0;37mSELECT * FROM accounts WHERE service_id = 6 AND person_id = 1 LIMIT 1 [4;33mAccount Columns (0.234000) [1;37mSHOW FIELDS FROM accounts [4;35mAccount Load (0.234000) [0;37mSELECT * FROM accounts WHERE service_id = 6 AND person_id = 1 LIMIT 1 [4;33mAccount Load (0.234000) [1;37mSELECT * FROM accounts WHERE service_id = 6 AND pe...
2011 May 17
5
has_many through question
...many :areas end Following View Taskschedule#new <h2>New Taskschedule</h2> <%= form_for @taskschedule, :url=>taskschedules_path do |f| %> <p>Area: <%= f.text_field :name %></p> <% for service in Service.find(:all) %> <p><%= check_box_tag :service_ids, service.id, @taskschedule.services.include?(service), :name => ''taskschedule[service_ids][]'' -%> <%= service.name %></p> <% end %> <%= submit_tag "Submit" %> <% end -%> Taskschedule Controller class TaskschedulesController <...
2008 Aug 20
0
activeresource: self.prefix = .../:id/... (need to set :id?)
Hi All As I mentioned in my title I''m using activeresource and the model I''m using has the following prefix self.prefix = ''/institute/:institute_id/services/:service_id/'' All this is great, however I''m now in a situation where I need to save the model, but it translate the prefix as follows /providers/983783784/services//appointments/234234234 So, the :service_id is unknown and is not part of the prefix. Here is the save command: @myModel.sa...
2008 Dec 09
4
HABTM checkboxes insert but don't delete
I have a problem related with the HABTM relationships with checkboxes. I''ve got a profile and a service model, both related with has_and_belongs_to_many. The problem is that i can insert new data in the profiles_services table, however, i cant delete already existing data. What could be the problem? --~--~---------~--~----~------------~-------~--~----~ You received this message
2012 Dec 18
1
Problem with srptools
Hello, I have a problem with the srptools to connect my Dom0 to the scst over IB ressources. *When i''m on the Debian kernel (without Dom0) * root@blade1:/# ibsrpdm -c id_ext=003048ffff9dd3b4,ioc_guid=003048ffff9dd3b4,dgid=fe80000000000000003048ffff9dd3b5,pkey=ffff,service_id=003048ffff9dd3b4 id_ext=003048ffff9dd3b4,ioc_guid=003048ffff9dd3b4,dgid=fe80000000000000003048ffff9dd3b6,pkey=ffff,service_id=003048ffff9dd3b4 root@blade1:/# root@blade1:/# ibstat CA ''mlx4_0'' CA type: MT26418 Number of ports: 1 Firmware version: 2.9.1000 Hardw...
2006 Jan 10
0
Paginate with two tables ?
...e. ##### SQL create table subscribers ( id integer not null auto_increment, name varchar(32) not null, surname varchar(64) not null, create_timestamp DATETIME not null, modify_timestamp DATETIME not null, primary key (id)); create table contracts ( id integer auto_increment, subscriber_id integer, service_id integer, sign_date timestamp, representative varchar(128) not null, constraint fk_subscriber foreign key(subscriber_id) references subscribers(id), primary key(id)); There is something like this in controller: @subscriber_pages, @subscribers = paginate :subscriber, :per_page => 10 , :order...
2007 May 24
3
Help with Create and Update with options_for_select in a select_tag
...or_message_on :service, :access_controls %><br /> Controller -------------- #create works but is this the best way? def create ..... if params[:access_control] params[:access_control].each do |value| control = AccessControl.new control.value = value control.service_id = @service.id control.save @service.access_controls << control end end .... end def update ??? I have no idea how to update the access_controls fields end Thanks in advance, K --~--~---------~--~----~------------~-------~--~----~ You received this message becau...
2019 Feb 04
2
acl_groups from LDAP issue
...for example shows my? public folders which are protected by acl_groups). But when it try doveadm mailbox list -u user.name the mailboxes are not listed and with -Dv i get "permission denied, no lookup rights". in my dovecot-ldap-userdb.conf.ext is hosts = ldap.server.example dn = cn=service_id,ou=mailserver,ou=system,ou=services,dc=server,dc=example dnpass = protectedpassword12345 tls = yes tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt tls_require_cert = demand ldap_version = 3 base = ou=users,dc=server,dc=example deref = always scope = subtree user_attrs = =home={ldap:dcMailMess...
2007 Jun 25
5
strange mock error
I''m testing using the rspec mocking framework and rspec 1.0.5 and I''m getting the following strange error: #<Spec::Mocks::Mock:0x337f7c8> expected :set_defaults with (#<Service: 0x19c4040 @name="Service_1023">, {"1"=>"1", "2"=>"2"}) but received it with (#<Service:0x19c4040
2008 Jul 16
2
belongs_to causing endless loop on first call to save!
...class CreditCard < PaymentMethod ... In the controller tier, I have a session object that--on the final step--loads an Account model object based on the current session state, and then calls save! on that model: class PrimaryAccountUser < User attr_reader :credit_card def initialize(service_id) @credit_card = {} #hash for storing credit card attributes end def persist_to_database add_session_data_to_account(PrimaryAccount.new) account.save! @id = account.id return account end private def add_session_data_to_account(account) #adds the impl-specific things...
2019 Feb 04
0
acl_groups from LDAP issue
...acl_groups). > > But when it try > > doveadm mailbox list -u user.name > > the mailboxes are not listed and with -Dv i get "permission denied, no > lookup rights". > > in my dovecot-ldap-userdb.conf.ext is > > hosts = ldap.server.example > dn = cn=service_id,ou=mailserver,ou=system,ou=services,dc=server,dc=example > dnpass = protectedpassword12345 > tls = yes > tls_ca_cert_file = /etc/ssl/certs/ca-certificates.crt > tls_require_cert = demand > ldap_version = 3 > base = ou=users,dc=server,dc=example > deref = always > scope = sub...