similar to: building a many-to-many structure in javascript

Displaying 20 results from an estimated 200 matches similar to: "building a many-to-many structure in javascript"

2006 Nov 14
4
Catching a list of variables with a Controller
Hi All, I have been learning some ruby and some Camping at the same time by implementing a little webapp to track expenses (one man''s blog...) that includes the ability to tag entries with 1 or more tags. I wanted to offer the possibility to narrow the view of expenses by adding tags to a filter (this works) and I also wanted this filter to be reflected in the URL. Like so: normal URL:
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 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
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 ~
2006 Mar 28
1
Domain Browsing broken after upgrade from 3.0.10 -> 3.0.21
Or maybe it was the upgrade from FC2 -> FC4.......... I recently was running a FC2 Samba PDC and OpenLDAP, using Samba-3.0.10. After I upgraded the server from FC2 to FC4 samba was broken and wouldn't load because it was complaining about a library file not existing. (libldap.so.2) I believe.. Sure enough it wasn't there. So I had to recompile Samba 3.0.10 again. Well the compile
2007 Apr 01
2
Room for safe opaque blocks in flac streams? Looking to add error correction to flac.
Is there an obvious safe way to add some extra data to a flac file that spec decoders will happily ignore? I'd like to explore creating a tool which will add N extra redundancy frames at the end which will allow perfect decoding with up to ~N frames lost in the files. This would allow users to sacrifice a tiny amount of compression for a substantial increase in file robustness. This would
2008 Dec 07
5
New to Centos and have question about updating packages
I have been using Freebsd for along time. I have a client of mine that wants me to use Centos for his email server and web server. Anyway with Freebsd to update the packages file you use the following commands. portsnap fetch fetches all the current port trees portsnap update adds all the new ports to the tree on the server portupgrade -arR will install all the ports that are installed on the
2008 Mar 07
5
Getting JRE working in Firefox
I have installed both: jdk-6u5-linux-i586-rpm.bin jre-6u5-linux-i586-rpm.bin But no Java plugin in Firefox. I go to: http://java.com/en/download/help/enable_browser.xml And yes, Java is enabled but still get the dreaded 'download plugin'. I seem to recall some magic linking needed, but my docs are in Freemind that I can't get installed either.....
2008 Sep 17
3
Installing & activating mysql in CentOS 5
I want to set up a local mysql server + client (preferably graphical, ie mysqlgui) so have yum installed both perl-DBI and mysql.i386, both apparently successfully. However, I can't see what to do next to get mysqld running, as it doesn't appear in the list of services (in /etc/init.d/). Help appreciated please - is there any good specific documentation on this anywhere? Also, what's
2008 Sep 17
2
CentOS on Eee PC 1000H
Hi folks Anybody running CentOS on Eee PC 1000H? In CentOS wiki[0] there is a draft about Eee PC 900 from Fabian Arrotin. Does the same howto work for Eee PC 1000H? So far he writes: > Waiting for an official way to host the necessary rpms ... Where to download WiFi and NIC driver? regards Sven [0] http://wiki.centos.org/HowTos/Laptops/Asus/Eeepc
2008 Mar 13
4
evince on centos5.1
is there something other than evince on centos 5.1 to view pdf's? Every time I am remoted in using vncviewer and look at attached emails it KILLS my X11 session. If I am at my desktop it works fine. xpdf used to work fine on 4.X - but it was removed in 5.X. Is there an alternative? Thanks, Jerry
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 -
2008 Jun 07
3
PeriodicalExecuter stops when form is submitted in Safari 3
Hi I''m having a problem using PeriodicalExecuter with a form. I have a monitoring pane that updates status of form processing, and it stops working when I submit a form. It works with Safari 2, IE, Firefox, but not with Safari 3. I''ve made a test script: http://www.charmm-gui.org/test.html It updates a textarea, but it stops updating when the form is submitted in Safari 3. Any
2008 May 13
8
static private and multi-inherit
/*author:csf178-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org*/ function Class(Initalizer,SuperClasses) { if(!SuperClasses)SuperClasses=[]; var ret=function(){ for(var i=0;i<SuperClasses.length;i++) { SuperClasses[i].call(this); } var $private={}; var $public=this; var $static=ret; with($static){ with($private){ with($public){
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
2002 Oct 21
4
Any work-around for very large number of files yet?
Yes, I've read the FAQ, just hoping for a boon... I'm in the process of relocating a large amount of data from one nfs server to another (Network Appliance filers). The process I've been using is to nfs mount both source and destination to a server (solaris8) and simply use rsync -a /source/ /dest . It works great except for the few that have > 10 million files. On these I get
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