Displaying 20 results from an estimated 20000 matches similar to: "hm :through -- nonstandard fk's"
2007 Oct 06
1
2.0 release train and a tiny ARes fix needs review
Are we too late for minor fixes to hop onto the Rails 2.0 train?
This little guy needs some +1 love. He adds ARes::Base#to_param:
http://dev.rubyonrails.org/ticket/9557
Cheers,
Brad
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to
2006 Jun 22
2
Embed a Rails app within another?
I''m looking for a solution where I could load and render pages from one
Rails application within another. I''m looking through the Rails code
right now to see if this would even be remotely possible. Does anyone
have any ideas?
I know the obvious answer would be to proxy the app via Net::HTTP, but
this is undesirable because:
- I don''t always want to depend on having
2006 Nov 13
6
mongrel_upload_progress question/possible suggestion
Hey all,
First off, thanks to Rick Olson and whoever else was involved with this
plugin... It''s been amazingly easy to implement.
I''ve got a question about the path_info parameter, though... It seems that
unless the request PATH_INFO exactly matches the path_info passed in to the
plugin at inclusion, it won''t actually trigger Add and add the upload to the
list of
2006 Apr 04
1
Manipulating has_many :through associations
Hi,
I haven''t done any associations before, so please forgive my incorrect
use of terminology...
If I set up a has_many :through association, can I manipulate the
associated instances directly (like an Array), or do I need to
manipulate the join model?
For example, suppose I have two classes and the associated join model:
class foo
has_many :foo_bars
has_many :bars, :through
2006 Jul 31
0
Patch for #3438: Eager loading doesn''t respect :order of associations
Hello all,
I still have a patch for #3438 (eager loading doesn''t respect
association orders); it passes all unit tests, and has additional unit
tests with full coverage. The patch is attached.
== The Bug ==
Author.find(1).posts != Author.find(1, :include => [:posts]).posts
if Author has_many :posts, :order => anything.
This means that either one must avoid eager loading or
2005 Aug 30
1
imaps only, and on a nonstandard port?
I'm trying to get dovecot configured to:
1) Only do imaps
2) Do imaps on port 500
I've tried "ssl_listen = *:500" both globally and in my "protocol imap"
section, but neither seems to be working.
Is there a way of doing this?
Thanks!
2005 Dec 22
2
nonstandard postgresql sequence names
I''m working with a legacy postgresql database where the names of tables,
columns, etc., do not usually follow Rails conventions.
I''ve been able to work around it for the most part, but I ran into this:
I have the following test:
require File.dirname(__FILE__) + ''/../test_helper''
class SponsorTest < Test::Unit::TestCase
self.use_transactional_fixtures =
2008 Jan 21
5
"nonstandard" column names
Hi everyone,
I am sure that this question has been asked here some
time ago but I do not remember the answer and was
unable to find it in the archives...
Below is my question: suppose that I have a data.frame
x and one of it's columns name is "CPI/RPI" (without
quotation marks of course). How can I reference this
column? Neither of x$CPI/RPI or x$"CPI/RPI" work. I
2000 Sep 04
1
Hm, dispatch protocol error
I've been getting a few locked sessions (unable to ctrl-c, ctrl-z it) with
the message:
Hm, dispatch protocol error: type 20 plen 136
I've never seen this message before openssh-SNAP-2000082900, and it's only
happened when connected to SSH 2.3.0, from openssh-SNAP-2000082900. Both
machines are mips-sgi-irix6.5.
Anybody care to explain what it means? Is it a known bug?
-jf
2009 Aug 26
1
hm, compiiling it with "--without-cups" doens't help
hm, compiiling it with "--without-cups" doens't help
2013 Dec 09
2
How can I find nonstandard or control characters in a large file?
I have a humongous csv file containing census data, far too big to read into
RAM. I have been trying to extract individual columns from this file using
the colbycol package. This works for certain subsets of the columns, but not
for others. I have not yet been able to precisely identify the problem
columns, as there are 731 columns and running colbycol on the file on my old
slow machine takes
2001 Dec 25
3
hm ...
About two weeks ago i was whining about an inode that got lost, now i'm going to whine more about strange things happening here.
A matroxfb just oopsed on me (thats not strange), the machine got unusuable, so i logged in from another and got the idea to touch /forcefsck. Upon reboot, fsck said that some inodes are in use but have dtime set and that some files are illegal sockets. Now this
2013 Jul 01
0
[LLVMdev] Build problem with nonstandard lib directory
Hi Andy:
Please add this to your configure invocation:
--with-gcc-toolchain=/depot/gcc-4.5.2
hth...
don
From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On Behalf Of Andy Jost
Sent: Sunday, June 30, 2013 6:12 PM
To: LLVMdev at cs.uiuc.edu
Subject: [LLVMdev] Build problem with nonstandard lib directory
I'm having trouble building LLVM 3.3 on RHEL
2006 Apr 18
7
[Prototype] evalScripts not working for me
I think I am experiencing the variable scope problem with evalScripts.
I have this block of code being returned from an Ajax.Updater call,
as shown by FireBug or one of those other Firefox plugins. I have
tried to boil it down to the minimum code.
<script type="text/javascript">
test = function() { alert("test"); };
</script>
<table
2005 Nov 02
4
acts_as_metadata?
I''m running into the need (on at least one project now) to implement
end-user-customizable "metadata" or properties on model objects. The
standard example would be a Person class that had first_name,
last_name, etc. but would need to be extended real-time (through the
web admin interface) with properties such as phone_number : varchar
(30). I''ve done some basic
2012 Dec 21
1
Problem compiling Samba4, Python installed in nonstandard location
Hi,I am working with a custom built (LFS-based) Linux distro and am attempting to compile Samba4.
Samba3 has always compiled without issue.
The system has its Python installed in /opt/python2. There are symlinks to put "python" in /usr/local/bin and the "python2.7" lib folder in /usr/include.
The configure command used was simply ./configure --enable-fhs --with-quotas
The
2013 Jul 01
3
[LLVMdev] Build problem with nonstandard lib directory
I'm having trouble building LLVM 3.3 on RHEL 2.6.9-89.ELlargesmp x86_64. This is most likely a problem with my not knowing the advanced usage of the configure script, but I'm stuck just the same. I hope this list is an appropriate place for this question.
The system I'm working on is a bit unusual. It is a shared server not administered by me (I can't change the configuration),
2007 Mar 30
7
Some additional attacks on Cookie Session
Aside from the replay attacks discussed, there are some other attack
vectors on the cookie_session store.
I appreciate (and admire!) Jeremy''s good humor on all of this:
> Planting the seed here led to quick ripening and plenty of pesticide.
> Thanks for the fish, all.
>
> jeremy
Anyway, here''s what we came up with:
1. Brute Force
SHA512 can be computed _very_ fast.
2007 Feb 01
6
Using a nonstandard foreign key
Hopefully this is an interesting question.
I have a "user" table with a field "email_address". I would like the
part of "email_address" after the ''@'' to be a foreign key to a
"companies" table populated by a companies that are clients.
Any pointers on how to do this in rails?
--~--~---------~--~----~------------~-------~--~----~
You
2006 Jul 10
7
What is has_many :through really buying you over HABTM?
So having just learned how to do has_many :through as opposed to HABTM,
and then, being concerned that I wouldn''t get it to work, I started
thinking about these two approaches.
It seems to me that the _only_ problem that the HM:T (has_many :through)
approach solves that HABTM doesn''t is the issue of the potential
collision of id columns between your join table and one of