similar to: @params["aKey"] and multiple aKeys in request

Displaying 20 results from an estimated 400 matches similar to: "@params["aKey"] and multiple aKeys in request"

2006 Apr 02
16
12 / 16 = 0
Hi, Just thought it was weird that Ruby doesn''t automatically cast ints to floats. Seems so un-rubyish irb(main):006:0> 12/16 => 0 irb(main):007:0> 12.to_f / 16.to_f => 0.75 Jeroen
2006 Feb 21
4
rekord id-je .create után
Hali! Mi a legegyszer?bb m?dja annak, hogy egy pl. note = Notes.create(...) ut?n megkapjam az adott note ActiveRecord id-j?t (primary key)? Sajnos ez ugye 0, mivel frissen lett l?trehozva... ?tlet? G?bor
2006 Mar 16
1
include once in partials
Hi! I have to include javascript code into my partial but I should do it once. How can I do that? What is the rule of thumb? G?bor
2018 Oct 02
1
Bug in conditionals to assign values to variables?
> > I can't seem to be able to reproduce this, not even with v2.2.33. It simply works without logging any errors. > I've made a lot of changes now. I can't neither reproduce it anymore :-(. If I could, I'll send the complete configuration. -- Angel L. Mateo Mart?nez Secci?n de Telem?tica ?rea de Tecnolog?as de la Informaci?n y las Comunicaciones Aplicadas (ATICA)
2007 Mar 08
2
Videos
I am trying to get my latest installation of Centos (4.4) to see videos when I am in www.cnn.com. I installed mplayer using yum and that went well. But I still get the screen from microsoft saying I need to install their plugin.. What more can I do to get these videos to work when I use either mozilla or konqueror.. Thanks..
2005 Oct 24
3
bogus find_all in Rails 0.14.1
I have the following statement cl = ChatEvent.find_all("ev_type <> #{t} and chat_id = #{@params [:chat_id]} order by created_at") which produces the following error: #42000You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ''order by created_at)'' at line 1: SELECT * FROM
2007 Mar 26
2
How to limit a user to access a few sites.
Hi , I am now running squid with ncsa_auth. I have bound ip addresses to usernames. So users now can access Internet from their ips. Now I want a few users to prevent from accessing all the sites. But Instead, I want them to allow to access a few sites scuh as google.com,cnn.com, bbc.com. I want to limit in that way. I have wriiten below rules. But those users still can access all the sites.
2006 Jun 09
5
Using link_to with an image tag & link text
Hi , I was trying to use link_to along with image_tag to setup a link that would open in an external window. But I was unable to make a link using both text & an image So my current workaround looks like this inside a partial where link is http://foo.com & text would be descriptive <img src="images/arrow.gif" border="0"/> <%= link_to(text, link, :popup
2006 Oct 23
6
overriding mock expectations
There is one annoyance I''m encountering with the Mock API in rSpec. Overall it works well, as far as dynamic mocks go ;)... but there''s this one thing... It doesn''t allow overriding of expectations. example: m = mock("blah") m.should_receive(:one).any_number_of_times().and_return(1) m.should_receive(:one).and_return(1) The second call to should_receive
2007 Jul 26
1
Lohan the observable
Sorry, that name is a misnomer. However, I was excited to find that Ruby has a built in Observable module and I''m pretty bored, so I apologize in advance.... require ''observer'' # one who is observed class Celebrity include Observable attr_accessor :name attr_reader :is def is=(val) @is = val changed notify_observers(self) end end # one who
2005 Aug 04
1
Where the error message comes from?
Hi all: I get the following error message that I am not able to resolve. Error in if (const(t, min(1e-08, mean(t)/1e+06))) { : missing value where TRUE/FALSE needed It appears right before the last data.frame statement. Below is the program that simulates data from one way random effects model and then computes normality and bootstrap confidence interval for
2011 Aug 23
0
(no subject)
I could barely afford groceries anymore I told myself to stay positive without this id still be completely distraught... http://www.helpmyse.wxv.pl/redir.php?cylubeg=google.com&dypyri=msn.com&url=http://abc365news.net/esubmit/bizopp_main.php now theres no turning back for me I could never steer you wrong _______________________________________________ Xen-users mailing list
2006 Apr 10
1
LoginEngine 1.0.1
Hi, The LoginEngine has been updated to 1.0.1. Notable changes: * User model now does very basic email validation * All tests now pass on both Rails 1.0 and 1.1 * Many bugs fixed! Please refer to the Engines documentation for how to update. http://www.rails-engines.org/download The subversion URL for the tag is: http://svn.rails-engines.org/login_engine/tags/rel_1.0.1 = v1.0.1 * Added
2005 Dec 28
1
Help needed with ActiveRecord
I am having issues with RoR/database relationships I have 3 tables Feeds (List of feeds) FeedItems (List of items, feedsID) FeedView (list of views and their list of feedsID) I would like to be able to generate a view with the feeditems For example, if the view has 2 feeds --> CNN & MSNBC and they both have 15 feeds in the feeditems table I want to be able to generate a view with cnn
2004 Mar 31
3
xml output from * ?
Hi Yawl, I took delivery this morning of a used BetaBrite LED display sign which I promptly set about playing with. Having found a windows app that grabs XML headline files from places like Slashdot and CNN as well as stocks etc I had an idea. What if I could get it to display stats from *? Things like call volume, queue stats, message waiting info. Now I'd be looking for someone to write
2006 Apr 27
5
proposing $E & $T
Hey all, I''ve had these functions for some time now, and would like to offer them as two new dollar-sign functions - elements to be extended by Prototype geniuses. :-) makeText(string) as $T() - return text node element Does just what it says... I''m sure someone could extend it nicely when via Prototype. (example) var x = $T(''hello world'');
2008 Sep 17
1
Strange browser displays with 5.x on Dell GX-260
I had been running CentOS 4.x for quite some time with no problems. Apparently I stubbed my toe when installing CentOS 5 final. Symptoms: various web sites are not properly displayed in Firefox 3.0.1 (or predecessors). In particular, cnn.com and any calls to Google display with a screen full of ascii characters rather than images. When I look at "page info" within Firefox, it
2005 Dec 23
6
Save using Update
Hi, I want to update an existing row in table "items" where items.id == 10 I tried this: item = Item.new item.f1 = ... item.f2 = ... ... item.id = 10 item.save I got an error Duplicate entry ... for key 10 : INSERT INTO items ... How do I make item.save to use UPDATE instead of INSERT? -- Posted via http://www.ruby-forum.com/.
2006 Mar 16
1
include once in partial
Hi! I have to include javascript code into my partial but I should do it once. How can I do that? What is the rule of thumb? G?bor
2003 May 21
1
python bindings api
I'm trying to understand the python binding api in the samba-3.0alpha24 snapshot. In trying to get the security descriptor of a file, I have the following bit of code: from samba import smb creds = {...} # domain,username,password cnn = smb.connect("svr1") cnn.session_request("svr1") cnn.negprot() cnn.session_setup(creds) cnn.tconx("c$") fnum =