similar to: has_and_belongs_to_many construction

Displaying 20 results from an estimated 300 matches similar to: "has_and_belongs_to_many construction"

2006 Mar 18
4
new user.presentation
Hi, I''m creating an RoR application right now and i''ve got the following question: An user has one presentation. So i''ve got an user table and in that table is an field fkPresentationID. Now i want to create an new user and at the same moment an new presentation for that user. I thought it would work with something like this, but it didn''t work. @user =
2013 Oct 10
2
pom for 0.5.1
H, I am using libvirt from maven using a nexus proxy pointing to http://www.libvirt.org/maven2/ It downloads the jar fine but is expecting libvirt-0.5.1.pom (and ...sha1). In the proxy only the jar appears. When I download and rename the pom to my local .m2 cache my build works fine. Is this a bug in the distribution of libvirt in its maven repo or is my dependency wrong somehow? Kind regards,
2020 Aug 22
2
Metric label values truncated when using OpenMetrics endpoint
Hi, Recently we upgraded to Dovecot 2.3.11.3 and configured an example metric like this: metric imap_command { event_name = imap_command_finished group_by = cmd_name tagged_reply_state user remote_ip } And enabled the OpenMetrics listener like this: service stats { inet_listener http { port = 5000 } } While the result is great, I noticed that some metrics are being truncated
2020 Aug 25
2
Metric label values truncated when using OpenMetrics endpoint
Hi Jeff, Thanks for your reply! Regarding grouping by remote address, I understand and for now I'll keep a close eye. Maybe it's an option to group by /24 for ipv4 and /64 for IPv6? We currently do that based on the logs but the OpenMetrics endpoint seem a lot easier. A slight hijack of the original question: but I tried to log only IP addresses (+ result) of failed login attempts but
2006 Apr 06
6
all elements of an array
Hi there, i have a model house and a model owner A house can have many owners. Now i want to find all owners of a specific street and i want to list them So i do: houses = House.find(:all, :conditions => ''street LIKE "%foo%"'') So now i got an array of all houses in that street @owners = houses[0].owner i''ve got all the owners of the first house. but
2006 Apr 14
3
Rails deployment
Hi all, I''ve greated a rails application and i want to deploy it right now. I have to use a windows 2003 server.. So i installed i''ve used the following tutorial: http://wiki.rubyonrails.com/rails/pages/RailsOnWindows My application is running at : http://loc.iwsweb.nl But everytime i connect it opens a ruby process but at the end it won''t kill it. As you can see
2006 Feb 01
3
XML on a external website
In my rails application i want to fetch an external xml file So my website www.test.com needs an xml file from www.example.com/xml.asp?query=hallo. In my rails application i want to fetch and handle this file as an xml object. Can anyone help me? Thanks. -- Posted via http://www.ruby-forum.com/.
2014 Feb 08
2
[LLVMdev] selecting ISD node - help
Hey, I wanted to add an intrinsics to read MSRs. So I added the intrinsics and lowered it to a new ISD node I created ISD::RDMSR, its first operand is the MSR id. I added a case in X86DAGToDAGISel::Select for ISD::RDMSR. Now I know rdmsr works like so: mov r/ecx, <id> rdmsr r/eax holds the lower 32/64 bit >From what I understood this needs a Token Factor node, nodes which are
2006 May 05
1
� to &euro;
Hi, I know a noob question, but i can''t find the function for it. When someone uses a € in a textbox i want in the database &euro; sign. Does anyone knows the function for it? Thanks, Daan -- Posted via http://www.ruby-forum.com/.
2019 Sep 12
2
Side-channel resistant values
Hello all, Many of us are dealing with data that should remain secret on a daily basis. In my case, that's key material in cryptographic implementations. To protect against side-channel attacks. We write our code in such a way that the execution of the program is not dependent on the key and other secret values. However compiler optimizations often makes this very hard for us, and often our
2010 Nov 08
5
[Bug 1836] New: "undesired" behavior when using the -r flag
https://bugzilla.mindrot.org/show_bug.cgi?id=1836 Summary: "undesired" behavior when using the -r flag Product: softflowd Version: -current Platform: All OS/Version: All Status: NEW Severity: normal Priority: P2 Component: softflowd AssignedTo: djm at mindrot.org ReportedBy: daan
2020 Aug 27
1
Metric label values truncated when using OpenMetrics endpoint
Hi Jeff, Thanks again for your insights. I understand that a lot of features are pending and it's totally fine, we're just very eager to use all these features. Reagarding the logging of failed attempts I did try to configure this in these two metrics: metric auth_client_userdb_lookup_finished { event_name = auth_client_userdb_lookup_finished group_by = service local_ip remote_ip
2010 Jul 23
3
[LLVMdev] Questions about GPU code generation/ VS development
Hey everyone, I've been working for a while on a virtual machine/DSL (for lack of a more precise term) specialised for graphics. I hope to allow domain specific optimizations, eg folding together post-processing passes, or automatic LODing for procedural textures. I'm planning to make the renderer itself to be defined at runtime, to allow foward rendering, deferred rendering, raytracing,
2014 Feb 08
2
[LLVMdev] selecting ISD node - help
Hi Tim, Tim Northover-2 wrote > The code used for DIV is around X86ISelDAGToDAG.cpp:2415, but from a > glance the key points seem to be: > 1. use the second result of getCopyToReg (i.e. SDValue(setIdNode, 1)) > in the RDMSR node. > 2. Give your RDMSR node type MVT::Glue instead of MVT::Other I tried doing what you said, and the DAG looks like how I think it supposed to look like
2019 Sep 12
2
Side-channel resistant values
On 9/12/19 5:06 AM, David Zarzycki via llvm-dev wrote: I think adding a builtin to force CMOV or similar instructions on other architectures is long overdue. It’s generally useful, even if one isn’t mitigating speculative execution. I believe that you can currently get this effect using __builtin_unpredictable in Clang. __builtin_unpredictable wasn't added for this purpose, and it's a
2023 Jun 12
1
site certificate
LS, I am sure you have already noticed but I want to report it anyway; When compiling a dependend on "https://libvirt.org/maven2/net/juniper/tungsten/juniper-tungsten-api/2.0/juniper-tungsten-api-2.0.pom", I get a certificate error. I get the a similar error when accessing https://libvirt.org btw hope you can do something with this information, -- Daan
2006 Jan 30
3
Rails installation fails!
What do I need to do inorder to install rails? - Thx -ND C:\>gem install rails Attempting local installation of ''rails'' ERROR: Error installing gem rails[.gem]: rails requires rake >= 0.6.2 C:\>gem install rails-1.0.0.gem Attempting local installation of ''rails-1.0.0.gem'' ERROR: Error installing gem rails-1.0.0.gem[.gem]: rails requires rake --
2019 Sep 13
2
Side-channel resistant values
Hi Chandler, The data-invariant feature sounds great but what about the general case? When performance tuning code, people sometimes need the ability to reliably generate CMOV, and right now the best advice is either “use inline assembly” or “keep refactoring until CMOV is emited” (and hope that future compilers continue to generate CMOV). Given that a patch already exists to reliably generate
2006 Aug 02
1
ActiveRecord: find_or_create with has_and_belongs_to_many --
I am attempting to use find_or_create on a foreign table with a has_and_belongs_to_many relationship with my current table. I am doing the following: term = school.terms.find_or_create_by_code("FALL06") the queries in the log show the expected SELECT statement to query if there is a join table record between the school and term with code "FALL06": SELECT * FROM term INNER
2006 Jun 15
1
has_and_belongs_to_many
My web server has a list of users, and each of them has a collection of books. I want to save some certain number of books for each user, including the book''s name, author, and display the information for the user. Which method should I use to store the subject information into each user subject? Do I have to create arrays to store it? Thanks for help! -- Posted via