Displaying 20 results from an estimated 2000 matches similar to: "Dynamic order on has_many relationship?"
2006 Jan 12
1
Effect.Puff Problem - first frame is wrong size
I''m trying to get to the bottom of this one. Not much for
Javascript debugging, but found the Venkman tool and have been
stepping through the code trying to see where things go wrong. Looks
like it just might be a conflict with the style but lets give some
background.
I''m doing a ''Effect.Puff(''my_div'')'' on an onclick, and
2005 Dec 28
0
InPlaceEditor background image only shows first time?
Looks like this is the place to talk about script.aculo.us ? If not,
could somebody let me know off list where I should direct it?
I''m trying to figure out why when I use the following css for the
InPlace editor saving class, it only seems to kick in the first time
the edit occurs on a load. If I edit the same field again, the
background image doesn''t show.
2003 Feb 24
3
SAMBA PDC User Permissions, Admin Settings, and Logon?
Hi all! First off, I'd like to thank you for the help you've previously
given me. I'd like to state a few of the problems I am now experiencing,
and you all can provide insight. I've read all the documentation I can find
and have surfed the archives for this newsgroup, but to no avail. Any help
would be greatly appreciated!
(I am using SAMBA 2.2.7)
Issue 1: If I don't
2005 Dec 28
8
Rails app lags after inactivity
Hi all. I have two Rails applications. Each is on its own VPS hosted by
Pipespring (excellent service btw).
My app runs lightning quick - AFTER the first load. If I visit my site after
a period of inactivity (i.e. no visitors to my site), it takes up to 10
seconds to load that first time. After that I can hop around with no
problems.
Has anyone run into this before? Ideas?
- Rabbit
2015 May 22
1
SCO OpenServer
I think what I need is a prebuilt package.
I currently use Samba 2.2.12 running on SCO OpenServer 5.0.6 but I am in the
process of upgrading to 5.0.7.
Can't move to SCO version 6 because our application isn't guaranteed to work
on it.
Regards
Dave
-----Original Message-----
From: samba-bounces at lists.samba.org [mailto:samba-bounces at lists.samba.org]
On Behalf Of Mauricio Tavares
2012 Jun 18
0
Creating an object with a nested has_many :through relationship
I have 3 models that define members, groups and the subscriptions: Member,
Group, and GroupMember.
class Member < ActiveRecord::Base
> has_many :group_subscriptions, class_name: "GroupMember"
> has_many :groups, through: :group_subscriptions
> attr_accessible :email, :password
> end
> class Group < ActiveRecord::Base
> has_many :member_subscriptions,
2006 Jan 20
1
stack level too deep from has_many / belongs_to relationship
I have the following 3 models (2 models joined by an intermediate):
1. class Exercise < ActiveRecord::Base
2. has_many :routines, :class_name=>''RoutineExercise''
3. end
1. class Routine < ActiveRecord::Base
2. has_many :exercises,
3. :class_name=>''RoutineExercise'',
4. :order=>''position''
5. end
1. class
2006 Sep 08
1
has_many relationship extensions and scoping rules
Hi all !
Is this supposed to work ?
class Email < ActiveRecord::Base
has_many :to, :class_name => 'Recipient', :conditions =>
"recipients.source = 'to'" do
def create!(*args)
with_scope(:create => {:source => 'to'}) do
super
end
end
def build(*args)
with_scope(:create => {:source => 'to'}) do
2015 Sep 07
1
UI-related change to PasswordAuthentication in sshd_config file
Hi Nolan,
The default sshd configuration file is often distribution-dependant. It means that even if upstream changed it, the result would not always be propaged in the distrib packages.
>
> Hello SSH developers,
>
> I spent about 2 hours today trying to track down why disabling passwords
> wasn't working on my Linux <Ubuntu> machine. I would like to propose the
>
2015 May 22
3
SCO OpenServer
Does anyone know the most up to date version of Samba that will run on SCO
OpenServer 5.0.7?
Kind Regards
Dave Nolan
Anchor Technology
2011 Oct 06
2
Titles changing when a plot is redrawn
I ran into a problem with titles on graphs. I wanted a graph with
multiple subplots, with each having a title that involved both
a Greek letter and an identifier for each graph. Below is a
simplified version of code to do this. The graph appears fine,
with the first graph having "i=1" in the title, and the second
graph having "i=2" in the title. However, when I resize the
2014 Oct 31
4
Samba Support
Good Morning,
I understand you provide support for the Samba project.
I am searching for some FREE help solving what I think is a very simple
problem for an experience Samba professional.
I am running Samba 2.2.12 on an old SCO OpenServer 5.0.6 box.
I cannot update to a more recent version of Samba as this is the last
version that will run on SCO OpenServer 5.0.6.
I have some
2006 May 12
2
your Tripp-Lite AVR550U
Hi Patrick,
in February, you tried to post the below message to the nut-upsuser
list, but the post was rejected because you were not subscribed to the
list. Unfortunately, you did not subscribe and re-post it.
Anyway, I have been working on Tripp-Lite support for newhidups
recently, and I wonder if you have any feedback. Did you ever get this
device to work?
>From the information you sent,
2008 Nov 26
2
Rtools28 - undefined references with gfortran
I recently upgraded to Rtools28 to build a package under
Windows. I see that g77 is no longer in Rtools, but it
does have gfortran, and it uses version:
GNU Fortran (GCC) 4.2.1-sjlj (mingw32-2)
I am compiling some old fortran code as part of a larger
project. When I do that, I get undefined references:
gcc.exe: s_cmp.o: No such file or directory
gcc.exe: s_copy.o: No such file or directory
2016 Dec 08
1
require(..., quietly=TRUE) does not suppress warning
Well, I'm getting a warning (not an error) when the package doesn't exist.
I interpreted "most often" to mean that suppressing warnings/errors is why you'd most often use this argument, as most packages don't emit startup messages.
And technically there isn't a problem with attaching the package, since we don't even try to attach packages that don't exist.
2006 May 28
7
Self-referential has_many :through relationship
Hi,
I have a self-referential has_many :through relationship setup to
track relationships between users. Basically relationships are
modeled as a join table with an extra column ''relation''.
create table relationships (
user_id integer unsigned not null,
friend_id integer unsigned not null,
relation char(1) not null,
)
--- relations ---
f = friend
r = request to
2006 Jan 03
2
Stopping a save from the before_save
What''s the better thing to do in a before_save if you don''t want the
save to continue?
raise an exception, or do an errors.add or both?
Thanks,
Chris Nolan.ca
http://kweschun.com/ - Do you have a Kweschun?
2006 Jul 27
1
W2K3 Domain - Can't Connect to Share?
I have a linux box, Samba 3.0.23a, that is joined to a W2K3 domain. I
cannot connect to the "MP3s" share (all legal!) on this system - I can
connect to home directories and printers. When I try to connect to MP3s
as any user on the domain, I get an Access is denied message, or it
prompts me for the username and password again. I am using Winbind (if
that matters), so none of these
2006 Feb 26
4
Creating objects with has_many :through relationship
Three tables:
users: id
clients: id
admin_contacts: user_id, client_id
class Client
has_many :admin_contacts
has_many :contacts, :through => :admin_contacts, :foreign_key => :user_id,
:class_name => ''User''
end
I added the :contacts for ease of use of grabbing the user objects
associated with the admin_contact.
This all works great, I can grab the Users that
2005 Dec 30
2
Crashing Firefox when updating the same div
I''ve managed to consistently crash firefox 1.5 (mac) using
script.aculo.us. Is this a known issue? The page in question works
in Safari enough.
It happens on a link_to_remote where I''m :updating the same div that
I''m currently in.
Would it help if I try to isolate the code? Would it be more a
firefox bug, or a JS bug? i.e. do we think we can fix the