similar to: Help with translating an object model to a relational mode

Displaying 20 results from an estimated 2000 matches similar to: "Help with translating an object model to a relational mode"

2007 Jun 24
6
I only want one type of model returned from a multi_search
I am trying to use acts_as_ferret''s multi_search to search across multiple models, but i only want it to return one type of model. for example i have a page that lists out people. on this page it shows email addresses and phone numbers. I want to be able to search by any fields directly from the person model and search the fields from the email_address and phone_number models, but I only
2008 Jul 24
0
Errno::EBADF Send an Email in Rails using GMail
Hi, would someone please help me. I have been desperatley trying to fnd out for the last two days why the following code is not working. Any ideas. I''m running Instant Rails 1.4 / Rails version 1.2.5 / Ruby version 1.8.5 (i386-mswin32) / RubyGems version 1.1.1 / Action Mailer version 1.3.5 / Windows XP. Here is a description of my emailing application: in
2006 May 19
2
Problem with joins and overlapping field names
Hi, I have the following code: @conversation_pages, @conversations = paginate(:conversations, :per_page => 20, :joins => ''LEFT JOIN messages on messages.conversation_id = conversations.id ''+ ''LEFT JOIN email_addresses on
2008 Mar 11
1
add_multiple_associated_save_callbacks and validates_associated conflict?
Perhaps I''m misunderstanding what''s happening here, but I''m having a problem with not being able to disable the validation of an associated collection if that collection contains a new record. Example... class Person < ActiveRecord::Base has_many :email_addresses validates_associated :email_addresses, :if => Proc.new { false } end p = Person.new
2011 Jun 11
1
Having a problem adding a foreign key
I keep getting this exception "SQLite3::SQLException: no such column: books.user_id: SELECT "books".* FROM "books" WHERE ("books".user_id = 4)" ,which sounds like there is no user_id in books table.So i just installed foreigner plugin and added " t.integer :user_id, :null => false" and "add_foreign_key(:books, :users)" in book
2006 May 25
4
Does TMail support Nested Multipart Messages? (Repost)
Hi, does anybody know if TMail supports nested multipart messages? I read a changelog that indicates so (http://dev.rubyonrails.org/svn/rails/trunk/actionmailer/CHANGELOG), but I haven''t been able to get it working so far. Maybe I am doing something wrong here? I attached the sample mail. Here is the code to parse it: require File.dirname(__FILE__) +
2018 Oct 01
0
Authenticate users using their firstname
-----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 > uid: firstname > uidNumber: 4025 > gidNumber: 4025 > givenName: firstname > objectClass: top > objectClass:
2018 Oct 01
0
Authenticate users using their firstname
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----- >> Hash: SHA1 >> >>> On Sat, 29 Sep 2018, Fady AL HAYALI wrote: >>> >>> I'm
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----- >
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:
2015 Jul 01
1
Dovecot deleting files and directories
Hi, I?m a new Dovecot user and using version 2.2.18 on an OpenSuse system. In general it all works quite nicely and clients can connect to Dovecot and manage mails normally. The layout used is maildir. The users are all virtual, i.e. they do not exist on the Linux system. They all log in without any authentication due to a very specialized and internal setup. However, sometimes Dovecot simply
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.
2006 Jan 07
3
Beginner Questions parameter passing failing
Dear all, I''m pretty much a complete programming novice, but I''ve battled my way through the Pickaxe book, and the Agile Rails book, and am trying to piece together some pretty basic functionality at the moment. I''m having an issue passing parameters from a login form and would really appreciate some assistance. I suspect I''ve made some basic
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
2006 Jul 25
1
Node Attributes
So I am designing a railsapp that indexes school organizations such as clubs and frats/sororities. I have decided to represent this as a graph, and that each entity is going to be just represented as a node, and the relationship between each node is going to be an edge. so basically, a frat such as "Alpha Beta Gamma" is represented as a node, and its chapters also as seperate nodes,
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 Nov 24
0
Using Ajax.Updater with Form
Hi, I''m trying to post to a PHP insert script and return the confirmation text in a div with Ajax.Updater, but I''m having little luck. Does anyone have any thoughts on my implementation? The page currently refreshes completely. Thanks. < rsvp.php > <html> <head> <script src="prototype.js" type="text/javascript"></script>
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
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