Displaying 20 results from an estimated 40000 matches similar to: "Google Map Key Error"
2010 May 06
7
Facebook, authlogic, and OAuth2
Has anyone gotten started with getting the OAuth2 replacement for
Facebook Connect working with auth_logic?
I know there is an OAuth2 gem (http://intridea.com/2010/4/22/oauth2-
gem-just-in-time-for-facebook-graph?blog=company), and I''m thinking of
using that to integrate.
Anyone know when the Fb Connect API will be shut down?
--
You received this message because you are subscribed to
2011 Jul 19
1
Is libvirt supported on Citrix Xenserver?
Hi,
I was finally able to connect to the xenapi hypervisor. However, once I connect to virsh and give a 'quit' command I get "* glibc detected *** virsh: double free or corruption (fasttop):". Please find below the actual memory dump.
Note: I have disabled the SSL certificate verification in xenapi_driver.c by setting
2010 May 24
5
top 10/most popular lists
What''s the best way to handle views that show the top 10/most popular/
Recently updated/most commented type listing?
Should I have a separate model that is populated with records from
other models by a background job or should I need to use some sort of
caching? Perhaps both?
Thanks!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 May 24
6
Problem Installing Rails 3
I''m trying to install Rails 3 on a brand new MacBook Pro running OS X
10.6.3, Ruby 1.8.7, and Rails 2.3.5 and I''m wondering if I''ve hosed
myself. So far, I''ve run these commands:
$ gem update --system
$ gem install arel tzinfo builder memcache-client rack rack-test rack-
mount erubis mail text-format thor bundler i18n
$ gem install rails --pre
However, when I
2010 May 10
6
de-crypting Ruby password with php.
Hello all, I have a client with an older Rails 1.8 app (was recently
upgraded from 1.6) and I need to integrate a php site to use the same
user login creds.
I''m not very versed with Ruby but I think this is the code that
encrypts the password.
[code]
# Encrypts some data with the salt.
def self.encrypt(password, salt)
Digest::SHA1.hexdigest("--#{salt}--#{password}--")
2025 Jan 28
1
R CMD check says no visible binding for global variable
This solution worked.
Thanks
Sent from my iPhone
> On Jan 28, 2025, at 3:09?PM, Duncan Murdoch <murdoch.duncan at gmail.com> wrote:
>
> ?On 2025-01-28 1:55 p.m., Naresh Gurbuxani wrote:
>> Data.frame is returned by SQL query. It does have column names. In the function, I make small changes to some columns.
>> Something like:
>> Myquery <- ?SELECT date,
2025 Jan 28
2
R CMD check says no visible binding for global variable
That is an interesting fix Duncan suggested and it sounds now like everything WORKED as intended in data.table except that any checker being used externally is not able to del with things that look like a variable but are actually not a variable currently visible except within a function that is doing deferred evaluation. In this case, it recognizes the raw unevaluated string as being the name of
2025 Jan 28
1
R CMD check says no visible binding for global variable
On 2025-01-28 1:55 p.m., Naresh Gurbuxani wrote:
> Data.frame is returned by SQL query. It does have column names. In the function, I make small changes to some columns.
>
> Something like:
>
> Myquery <- ?SELECT date, price, stock FROM stocktab WHERE stock = ?ABC? AND date > ?2025-01-01?;?
>
> Prices <- dbGetQuery(con, myquery)
> SetDT(Prices)
> Prices[,
2010 May 04
4
OneLogin releases SAML for Ruby
We have just published a neat little toolkit for those of you who are
interested in SAML-enabling your enterprise application. SAML is a
standards-based single sign-on protocol, which allows an identity
provider to securely log users into an application without a password.
Some of the advantages of SAML that you avoid passwords altogether and
can centralize access control at your identity
2024 Sep 22
2
store list objects in data.table
Thanks everyone for their responses.
My data is organized in a data.table.? My goal is to perform analyses
according to some groups.? The results of analysis are objects.? If
these objects could be stored as elements of a data.table, this would
help downstream summarizing of results.
Let me try another example.
carsdt <- setDT(copy(mtcars))
carsdt[, unique(cyl) |> length()]
#[1] 3
2025 Jan 28
1
R CMD check says no visible binding for global variable
Naresh,
I am not sure how you are creating your data.frame so it has no, I think, column names. There are two scenarios including one where it is not really a valid data.frame and one where it can be handled before any other use as shown below. If it cannot be used, you might need to modify how your SQL or the function you call creates it so it includes either names it chooses or that you supply.
2025 Jan 28
1
R CMD check says no visible binding for global variable
There you go, once again helping strengthen ;)
John
Get Outlook for iOS<https://aka.ms/o0ukef>
________________________________
From: R-help <r-help-bounces at r-project.org> on behalf of avi.e.gross at gmail.com <avi.e.gross at gmail.com>
Sent: Tuesday, January 28, 2025 12:01:25 AM
To: 'Naresh Gurbuxani' <naresh_gurbuxani at hotmail.com>; r-help at r-project.org
2025 Jan 28
2
R CMD check says no visible binding for global variable
Data.frame is returned by SQL query. It does have column names. In the function, I make small changes to some columns.
Something like:
Myquery <- ?SELECT date, price, stock FROM stocktab WHERE stock = ?ABC? AND date > ?2025-01-01?;?
Prices <- dbGetQuery(con, myquery)
SetDT(Prices)
Prices[, date = as.Date(date)]
R CMD check say ?no visible binding for global variable ?date??
Sent
2010 Apr 23
2
link_to with resource routes in helper file?
Hey all!
Any pointers on doing something like:
link_to "Comments", comments_path
from within a helper file just like you can do from a view?
Thanks in advance!
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To
2010 Apr 27
4
Translated (language-aware) routes in Rails application
Hi,
I''d like to have translated languate-aware routes in my application,
like:
/projects/5/permissions => locale "PL"
/projekty/5/pozwolenia => locale "PL"
Is there any way to achieve it with RESTful routes? I have done it
manually with named routes, but it''s overwhelming with over 300
routes :D Also tried namespace (yeah, didn''t work) and
2010 May 17
6
validates_timeliness plugin installation
I''m trying to install the validates_timeliness plugin:
on Ubuntu lucid in my rails project directory:
sudo ./script/plugin install git://github.com/adzap/validates_timeliness.git
./script/plugin: command not found
on windows (as admin) in my rails project directory:
ruby script/plugin install git://github.com/adzap/validates_timeliness.git
creates the "validates_timeliness"
2010 May 15
3
ActiveResource Mock Objects
Some of my tests use ActiveResource HttpMock requests and some of them
do not. Does anyone know if there is a way to disable the HttpMocks
after they have already been loaded? The method
ActiveResource::HttpMock.reset! only removes all the objects, but
ActiveResource still thinks it should look for mock requests rather
than actually making requests. I hope this makes sense!
Thanks,
Tom
--
2010 Jan 10
7
IIS + Apache + Mongrel: Problem with big data submit form
Hi all,
I deployed a Rails application on a Windows Server 2003 machine as
follows:
+ I created two instances of Mongrel at ports 4001, 4002 to serve the
application
+ I set up an Apache instance at port 8080 for balancing load for the
two Mongrels => So I can access my website at URL http://mywebsite:8080/
+ I want to allow users access my website without typing port 8080 in
the URL.
2010 Apr 28
2
Rails - associations help
Hi
I have two models .
Dbase
--------
name
vendor
type
port
defuser - default user name
Users
-------
username
password
email
I need to build an association between these two in that the dbase
model''s defuser needs to be present in the users table. I am from a
relational database background so am trying hard to understand rails
associations.
What should I do to associate the
2010 May 04
2
Session Store Issues on Production Server
Hello,
I am using AuthLogic as my authentication gem. Everything is great on
my development server. When I upload to my passenger driven
production server at Dreamhost, the sessions are persisting
relentlessly. In other words, a user cannot log out. I have tried
implementing the Active Record session store and have changed
the :secret key in initializers/session_store.rb, but for some reason,