Displaying 3 results from an estimated 3 matches for "tagid".
Did you mean:
tabid
2006 Jul 17
6
3 newbie questions
hey all,
I have 3 tables like this:
Images (id,name)
Tags (id,name)
ImagesTags(imageid,tagid)
in my image model I do a "has_and_belongs_to_many :tags" but to make
it work I need to rename ImagesTags(imageid,tagid) to
Images_Tags(image_id,tag_id). My question is that given that I can''t
rename the table, is there any way to make it work with the original
names?
Second qu...
2011 Oct 11
0
Mechanize gem. What's the price?
...a https request using
Net::HTTP
No matter how I tried I was getting and EOF error.
Then I tried with Mechanize gem and it worked like a charm.
The code I use now for Mechanize is:
agent = Mechanize.new
agent.keep_alive = true
page = agent.post("https://somewhereintime.bla", {''tagid'' => ''b6'',
''source'' => ''email'' })
The code I was using with Net::HTTP was (gives me EOF error):
url = URI.parse("https://somewhereintime.bla")
req = Net::HTTP::Post.new(url.path)
req.set_form_data({ ''tagid'...
2010 May 02
2
samba4 make error - drsblobs.so
...librpc/idl/srvsvc.idl:1437: warning: top-level [out] pointer `hnd' is not a [ref] pointer
Compiling ../librpc/idl/svcctl.idl
../librpc/idl/svcctl.idl:693: warning: helper() is pidl-specific and deprecated. Use `include' instead
../librpc/idl/svcctl.idl:476: warning: top-level [out] pointer `TagId' is not a [ref] pointer
../librpc/idl/svcctl.idl:487: warning: top-level [out] pointer `service_status' is not a [ref] pointer
Compiling ../librpc/idl/trkwks.idl
Compiling ../librpc/idl/unixinfo.idl
Compiling ../librpc/idl/w32time.idl
Compiling ../librpc/idl/winreg.idl
../librpc/idl/winreg....