Displaying 20 results from an estimated 800 matches similar to: "Catching a list of variables with a Controller"
2006 Feb 26
5
Help On Associations Extension.
Hi to all,
I''m needing some help here ... I want to do an extension on a
has_and_belongs_to_many to build a custom add method to the
association.
i have a table locations that has a many-to-many association with a
tags tabel using a locations_tags table.
i want to add a method to the Location has_and_belongs_to_many
association so that i can do something like this on the location
2008 May 22
9
building a many-to-many structure in javascript
hi,
for some purpose, I need a "in-javascript database", maybe built with
some Prototype $H function calls for creating "tables"
but what about junction tables, I mean those which express many-to-
many relations between two entity tables ?
I though using concatenation of strings with a separator, for example
"key1 key2"
"1234-56"
or "ABC \n 789"
2008 Jun 19
2
Pattern Matching Replacement
I would like to replace "\r\n" with "" in a character string, where "\r\n"
exists only between < and >, how could I do that?
Initial:
characterString = "<XML><tag1
id=\"F\r\n2\"></t\r\nag1>\r\n<tag\r\n2></tag2></XML>"
Result:
characterString = "<XML><tag1
2006 Aug 10
2
search acts_as_taggable for multiple tags
Hey...I''m trying to search a Model that uses acts_as_taggable for multiple tags. I''d like to pass in a search string containing a space delimited tags names (i.e. "tag1 tag2") and return the objects that have been tagged by either one of those. Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2010 Oct 05
1
Broken support for Smart Card Logon in Windows 2003 and XP
Hello.
As I can see this post: https://jira.it.su.se/jira/browse/HEIMDAL-241,
at least? Samba 4.0.0alpha5 supported Smart Card logon for Windows XP
workstations.
Current version (Version 4.0.0alpha14-GIT-77d959f+) does not support
smart card logon on Windows XP workstation (but Windows 7 works well).
I tried to compare Kerberos traffic examples from genuine domain
controller and Samba's
2012 Jul 17
2
puppet host tagging
Hi all .
i am running puppet version 2.6.16 and foreman Version 0.4.2 .
my question is as follows .
i would like to know if there is a way to tag server with a group tagging .
for example .
let say i am running apache with a unique configuration and network
architecture and want to tag in with "tag1"
and a i have few more apache installation with the a new unique
configuration and
2007 Jul 18
2
Hash.from_xml
Hi,
I''ve started looking at ticket
90<http://merb.devjavu.com/projects/merb/ticket/90>and there are a
couple of situations that the current implementation doesn''t
cater for.
1. Tag Attributes are wiped out.
- <tag1 attr1=''1''>Content</tag1> #=> { "tag1" => "Content" }
- I think it should return
-
2011 Sep 18
2
troubles with a for loop
Dear all,
I am a stata user and I am moving my first steps in R.
I am dealing with a silly issue concerning looping over variables. I read
previous posts on similar topics in the R help archive, but I did not find a
solution.
Here is my case:
I run a simple bivariate linear regression saving the output in objects
called: pd.memb.0, pd.memb.1, pd.memb.2, pd.memb.3
pd.memb.0 <- lm(E.fs.memb ~
2007 Jan 30
2
periodic problems with dovecot-1.0rc19 (No authentication sockets found)
Hi, Timo!
On the new server running 1.0rc19 people stop being able to login every once
in a while. The log messages on the server side are:
Jan 30 12:18:50 bonkers dovecot: pop3-login: No authentication sockets found
Jan 30 12:18:50 bonkers dovecot: pop3-login: No authentication sockets found
Jan 30 12:18:59 bonkers dovecot: pop3-login: No authentication sockets found
Jan 30 12:19:01 bonkers
2016 Sep 08
3
DNF update
On Wed, 2016-09-07 at 23:40 +0000, Joseph L. Casale wrote:
> > I think it should be called YUM.
> https://fedoraproject.org/wiki/Features/DNF#Naming
> DNF stands for Dandified yum. Since DNF is a tech preview
> in Fedora 18 the Python module names can not be 'yum.*' as
> that would clash with yum itself.
In any single version of Centos there is only one YUM. Having
2011 Aug 25
7
How to safely embed JSON object in HTML document
Hi all,
I''m working on a Backbone.js single page app with Rails 3.1, and in an
attempt to save on HTTP requests, I want to embed initial data set in
a HTML document that is sent back to the browser after successful
login.
I was thinking I can simply convert my ruby object to JSON, then HTML
escape resulting string of JSON, and then use that as a value for
JavaScript variable. Something
2006 Jan 23
2
del.icio.us-like output
I''m trying to build a page similar to a delicious page that is a listing of
your bookmarks in this format:
1. Querying serialized data in
ActiveRecord<http://www.karmiccoding.com/articles/2005/11/29/querying-serialized-data-in-activerecord>
Hack
to search serialized fields
to rails <http://del.icio.us/djsodom/rails> ... and 4 other
2019 Nov 28
2
ESEARCH is announced but it doesn't work
I am using Dovecot 2.3.4. I could upgrade if necessary.
I see this capabilities after login in:
"""
a OK [CAPABILITY IMAP4rev1 SASL-IR LOGIN-REFERRALS ID ENABLE IDLE SORT
SORT=DISPLAY THREAD=REFERENCES THREAD=REFS THREAD=ORDEREDSUBJECT
MULTIAPPEND URL-PARTIAL CATENATE UNSELECT CHILDREN NAMESPACE UIDPLUS
LIST-EXTENDED I18NLEVEL=1 CONDSTORE QRESYNC ESEARCH ESORT SEARCHRES
WITHIN
2019 Dec 27
5
Delete Phabricator metadata tags before committing
Many git commits in the monorepo look like the following:
[Tag0][Tag1] Title line
Summary:
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Quisque mauris neque, porta nec tristique at, sagittis vel nisi. Fusce pharetra nunc et mauris consequat venenatis.
Reviewers: username0, username1
Reviewed By: username0
Subscribers: username2, username3,
2010 Feb 28
2
[LLVMdev] Tag number of OCaml Variant in executionengine
Hi,
At the code below from
./bindings/ocaml/executionengine/executionengine_ocaml.c,
we create an OCaml Variant from C. It is from 2.6, the latest 2.7 has
the same code.
Line 240 Option = alloc(1, 1) assigns tag1 to the 'some' constructor.
In term of http://caml.inria.fr/pub/docs/manual-ocaml/manual032.html,
I think the 'some' should have a tag 0. We dont have a runtime error
for
2010 Mar 19
0
Setting Caller ID for attended transfer
Hello list,
I'm sending calls to a queue in the attended way, that is, *1.* the original
call is put on hold, *2.* a second line is open to call the queue,
*3.*after an agent is connected the original call is transfered to its
final
destination.
1. Zap/1-1 <--> SIP/agentA-tag1
2. SIP/agentA-tag2 <-->
SIP/agentB-tag
3.
2013 Apr 07
3
mlogit error
Dear List
I am trying to fit a multinomial model using the mlogit package. Attempting to load
the data into mlogit presents the following error.
MLOG<-mlogit.data(Mult3,shape="long",choice="CHOICE",alt.var="mode.ids",indivs = "set3",chid.var = "obs")
Error in `row.names<-.data.frame`(`*tmp*`, value = c("1.1", "1.2",
2006 Feb 12
7
ROR Recipes Beta: Why use taggings instead of tags_contacts? NoMethodError tag_with?
I have gotten acts_as_taggable to work for a test application as documented on taggable.rubyforge.org
I am following Chad''s excellent examples in ROR Recipes Beta book.
I have a few questions and hope that Chad or some other expert can help clarify them.
1. Why is the book suggesting to use taggings table instead of tags_contacts, as mentioned on taggable.rubyforge.org?
2015 Oct 06
2
SRET consistency between declaration and call site
On Oct 6, 2015, at 4:33 PM, Reid Kleckner via llvm-dev <llvm-dev at lists.llvm.org> wrote:
> On Tue, Oct 6, 2015 at 1:21 PM, Joerg Sonnenberger via llvm-dev <llvm-dev at lists.llvm.org <mailto:llvm-dev at lists.llvm.org>> wrote:
> Can you give an example of where it would trigger in LTO and when should
> not?
>
> You could imagine that __muldc3 might be
2018 Jan 30
4
Best practices in developing package: From a single file
Mehmet,
That is a loaded topic, not unlikely other topics preoccupying us these days.
There is package.skeleton() in base R as you already mentioned. It drove me
bonkers that it creates packages which then fail R CMD check, so I wrote a
wrapper package (pkgKitten) with another helper function (kitten()) which
calls the base R helper and then cleans up it---but otherwise remains
faithful to it.