Displaying 20 results from an estimated 40000 matches similar to: "Google Map Key Error"
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 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
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:
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
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}--")
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
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
2023 Nov 18
1
combine barchart and xyplot in lattice
On Sat, 18 Nov 2023 at 06:44, Naresh Gurbuxani
<naresh_gurbuxani at hotmail.com> wrote:
>
> In below graph, I would like to add two vertical lines using
> panel.abline(). Is this possible?
I assume you want the 'v' variable in panel.abline() to be interpreted
in the context of your x-axis, which here represents a factor
variable. Unless two factor variables have the same
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
2024 Sep 22
1
store list objects in data.table
Well, you may have good reasons to do things this way -- and you
certainly do not have to explain them here.
But you might wish to consider using R's poly() function and a basic
nested list structure to do something quite similar that seems much
simpler to me, anyway:
x <- rnorm(20)
df <- data.frame(x = x, y = x + .1*x^2 + rnorm(20, sd = .2))
result <-
with(df,
2011 Jun 15
1
Is libvirt supported on Citrix Xenserver?
Hi,
Is libvirt supported on Citrix Xenserver. I have been searching for the same
with little/no luck.
If supported, can you point to some links/documents which can help me try
out the same.
Thanks,
Naresh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20110615/37e4df03/attachment.htm>
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,
2024 Sep 21
3
store list objects in data.table
I am trying to store regression objects in a data.table
df <- data.frame(x = rnorm(20))
df[, "y"] <- with(df, x + 0.1 * x^2 + 0.2 * rnorm(20))
mydt <- data.table(mypower = c(1, 2), myreg = list(lm(y ~ x, data = df),
lm(y ~ x + I(x^2), data = df)))
mydt
#?? mypower??? myreg
#???? <num>?? <list>
#1:?????? 1 <lm[12]>
#2:?????? 2 <lm[12]>
But mydt[1, 2]
2010 Apr 20
5
Spring Cleaning
Right now in my view, I have a whole HUGE clump of
<% if current_user %> and then <% if current_admin %> and then <% if
current_teacher %> and then all that other stuff in my view.
I have a ginourmous chunk of if and else statements in my views... is
there a way to make it prettier? The if and else''s almost all have the
same functions, expect for some minor changes.
2010 Apr 27
2
how to start an edge rails app
I want to check out an issue in edge rails. I''ve never used edge
before and am having a lot of trouble getting it up and running.
Following modified instructions from
http://ariejan.net/2009/01/04/how-to-start-a-rails-edge-app-the-easy-way/
$ mkdir -p app/vendor
$ cd app
$ git clone git://github.com/rails/rails.git vendor/rails
$ ruby vendor/rails/railties/lib/rails/cli.rb .