similar to: Beginner Questions parameter passing failing

Displaying 20 results from an estimated 5000 matches similar to: "Beginner Questions parameter passing failing"

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 07
1
Difference in find_by
Hi all, Been digging to a lot of ruby docs to understand more of what Rails is exactly doing. Can somebody tel me what the difference in use is between the "@params" and "params". (I know the first is a instance variable and the second is a ''normal'' variable. What does this mean in pratical terms? @contact =
2018 Oct 01
2
Authenticate users using their firstname
> On 01 October 2018 at 15:19 Steffen Kaiser <skdovecot at inf.h-brs.de> wrote: > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > On Sat, 29 Sep 2018, Fady AL HAYALI wrote: > > > I'm setting up a Postfic and Dovecot with LDAP email server. My users in LDAP is like this: > > > > dn: uid=firstname,ou=People,dc=domain,dc=com > >
2018 Sep 29
3
Authenticate users using their firstname
Hi, I'm setting up a Postfic and Dovecot with LDAP email server. My users in LDAP is like this: dn: uid=firstname,ou=People,dc=domain,dc=com uid: firstname uidNumber: 4025 gidNumber: 4025 givenName: firstname objectClass: top objectClass: person objectClass: posixAccount objectClass: shadowAccount objectClass: organizationalPerson objectClass:
2018 Oct 01
1
Authenticate users using their firstname
On Mon, Oct 01, 2018 at 11:25:48PM +0200, Admin wrote: > > > Von unterwegs gesendet > > > Am 01.10.2018 um 18:27 schrieb Aki Tuomi <aki.tuomi at open-xchange.com>: > > > > > >> On 01 October 2018 at 15:19 Steffen Kaiser <skdovecot at inf.h-brs.de> wrote: > >> > >> > >> -----BEGIN PGP SIGNED MESSAGE----- >
2015 Jan 19
1
dsadd doesn't work correct
Hi together, I installed samba 4 on a server with Debian-Wheezy-OS. Everything seems to work fine. I can add a user with RSAT. The user is added to the AD, the profile is stored in the server-profile-path and homepath can be accessed. I have to import about 400 datasets to the AD. Therefore I want to use the commandlinetool dsadd. With this tool I can import datasets, which I can see with RSAT.
2004 Oct 23
1
login with alias
Hi all, i'm setting up mail server and here is the question: if, for example "firstname.lastname at domain.com" is e-mail address, then how can i setup login as "firstname.lastname" and "password" not only "firstname". Of course, users want all things simple. But i don't want to use login names longer than 8 chars. Any ideas? Or should i try
2009 Aug 25
5
uninitialized constant
API-> hello_message_api.rb. class HelloMessageApi < ActionWebService::API::Base api_method :hello_message, :expects => [{:firstname=>:string}, {:lastname=>:string}], :returns => [:string] end controller -> class HelloMessageController < ApplicationController web_service_api HelloMessageApi web_service_dispatching_mode :direct wsdl_service_name
2006 Mar 02
3
Custom SQL Question
Hello, can search with following SQL Statement: def execute_search @result = Search.find_by_sql ["SELECT * FROM customers WHERE firstname LIKE ? LIMIT 10",params[:firstname]] render :template => "search/resultlist", :layout => false end My question is, how do I use 2 or more Parameters - and with the "%"? (I Like to use SQL-Statements because
2011 Jan 05
5
Login with firstname.lastname instead of loginname - WORKING
3 years ago (!) I aksed about this and finally I implemented it today: >> # NEW >> passdb { >> driver = passwd >> # firstname.lastname at charite.de:password:uid:gid:(gecos):home:(shell):user=realloginname >> args = /usr/local/etc/dovecot.login_via_email >> } >If you're only using it as a passdb, you don't need the uid/gid/home.
2006 Apr 14
1
SaltedHashLoginGenerator Integration Woes
I''m trying to modify the SaltedHashLoginGenerator to where it separates the users table into two tables: a users table which contains login info: token, salt, etc) and userprofiles table (which contains firstname, lastname, authlevel, etc) I''m trying to use the existent helper for user under app/helpers/user_helper.rb and copied to app/helpers/userprofiles_helper.rb and
2006 Jan 09
2
catch id from form and copy between objects
Hi all, Not completely sure what I''m doing, but I need to get data from another table based on and id. Below is some breakpointer output: irb> @params => {"project"=>{"project_description"=>"point2", "project_name"=>"break2"}, "action"=>"create_project",
2007 Jul 28
3
problem with a form
Hello I am trying to fill in a form using WWW::Mechanize. I can fill in 2 of the 3 fields but one is giving me a problem. The name of this field is "name" when I use the following bit of code, it seems to change the name of the form, not the value of the field. The part of original page after pretty printing {forms #<WWW::Mechanize::Form {name "wp_pers_form"}
2015 Apr 17
2
user authentication issue
Hey Samba list, First a brief comment regarding my background and situation. This is my first time posting to this list. I've been asked to resolve a Samba authentication issue, but I have next to no experience using Samba. Unfortunately no one else here knows how to use it either; we're operating with an inherited environment from a sysadmin who left minimal documentation, and we have
2012 Jan 03
1
Deliver all addresses to the same mdbox:?
For archiving purposes I'm delivering all addresses to the same mdbox: like this: passdb { driver = passwd-file args = username_format=%u /etc/dovecot/passwd } userdb { driver = static args = uid=1000 gid=1000 home=/home/copymail allow_all_users=yes } Yet I'm getting this: Jan 3 19:03:27 mail postfix/lmtp[29378]: 3THjg02wfWzFvmL: to=<firstname.lastname at
2007 Dec 20
4
object.send problem within ActiveRecord
I am using the send method in one of my active records ... executing a method without any parameters works fine.. but when it comes to parameters it says ArgumentError: wrong number of arguments (1 for 0) u = User.new #works u.send :firstname #does not work => ArgumentError: wrong number of arguments (1 for 0) u.send :firstname, ''michal'' does someone know why? the rubydoc
2011 Dec 22
1
Properly Escaping Quotes and Commas
Hello all, I have a setup where Asterisk sends a message to a few jabber users on each incoming call, like: exten => s,n,Macro(sendim,"Incoming call from ${CALLERID(all)}") The macro looks like this: [macro-sendimuser2] exten => s,n,JabberSend(asterisk,user2 at gmail.com,${ARG1}) exten => s,n,JabberSend(asterisk,user2 at internal.jabber.server.tld,${ARG1}) [macro-sendim]
2010 Feb 10
2
dovecot and firstname.initial.lastname mbox format archive
hi Today I have been in a puzzling fight with 2 dovecot versions that I would like to ask some comments on. The situation is this: - I have a considerable mail archive in mbox format (yes, I know, but that is what I have..). - My mail reader is mutt 1.5.20 by the way. - Some of these mbox files have names like firstname.initial.lastname Note the . seperating the parts of the email-ers name.
2010 Sep 01
1
Writing My Own Function to Use With aggregate
Dear R-Users, I have been using R for about 1 week and recently learned about the Aggregate function, and from reading online it seems like it is comparable to a SQL group by to perform summary functions. I am looking to do a summary function, such as SUM/MIN, but instead of these basic functions, I would like to calculate the IRR. Assuming I have a data set DS01: FirstName LastName
2007 Sep 18
2
Setting default value in text_field/password_field
I am trying to set a default value in a text_field form. I know how to do this in html, but is there a way to do this with form_for Here is my code <% form_for :user do |f| -%> <p><label for="firstname"%>First Name</label><br/> <%= f.text_field :firstname%></p> ... <p><label for ="email"%>Email</label><br/>