Displaying 5 results from an estimated 5 matches for "tag3".
Did you mean:
tag
2006 Nov 14
4
Catching a list of variables with a Controller
...y 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: http://localhost:3301/
filtered URL: http://localhost:3301/filter/tag1/tag2/tag3
However, I can''t get this to work since I require a variable number of
regexp groups (like say an array) and I could not find a routing syntax that
would allow this (something like class Filter < R ''/filter/(\w/)*'' ).
I currently use a route which looks like:
class...
2006 Feb 26
5
Help On Associations Extension.
....
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
model:
myLocation.tags.add_by_names ''tag1 tag2 tag3''
On the extension i want to do something like this:
class Location < ActiveRecord::Base
has_and_belongs_to_many :tags do
def add_by_names tag_names
tag_names.split(" ").each do |tag_name|
tag = Tag.find_by_name(tag_name) || Tag.create(:name => tag_name...
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"
2007 Dec 06
0
Too many open files leads to timeout exceptions in Mechanize/Net::HTTP?
...enticated?
> end
>
> def authenticated?
> cookie = cookies.find { |c| c.name == "LOGIN" }
> raise SiteChangedException, "''LOGIN'' cookie is no longer
> being set" if cookie.nil?
> cookie.value.include? "TAG3=" + $config[:username]
> end
> end
>
Gabe Martin-Dempesy
Mudbug Media
504-212-2161 // 504-581-INFO x201
2016 Feb 15
1
[PATCH] Start adding return values tests for bindings
...uot;pv_free"]=>
+ int(3)
+ ["pv_used"]=>
+ int(3)
+ ["pv_attr"]=>
+ string(5) "attr3"
+ ["pv_pe_count"]=>
+ int(3)
+ ["pv_pe_alloc_count"]=>
+ int(3)
+ ["pv_tags"]=>
+ string(4) "tag3"
+ ["pe_start"]=>
+ int(3)
+ ["pv_mda_count"]=>
+ int(3)
+ ["pv_mda_free"]=>
+ int(3)
+ }
+ [4]=>
+ array(14) {
+ ["pv_name"]=>
+ string(3) "pv4"
+ ["pv_uuid"]=>
+ string(32) "12...