Displaying 20 results from an estimated 100000 matches similar to: "how to generate the Generating SSH keys in github?"
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:
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 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 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 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 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 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 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,
2010 May 21
8
Designing An Application (UML, Class Diagrams)
Hi
Is there any freeware anybody would recommend for showing database
models and how they relate to each other? I''m picking up an app
another developer left in a mess and I''m trying to sort it out.
Diagrams would be a great help.
Suggestions?
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
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 .
2010 Apr 22
3
HOW TO Track How Many Recipients Open Your Mail IN RAILS?
HOW TO Track How Many Recipients Open Your Mail IN RAILS?
please help me PROVIDE SOLUTIONS AND STEPS OR ELSE ANY PLUGIN
--
Posted via http://www.ruby-forum.com/.
--
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 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 Apr 15
3
Same model over multiple databases problem
Hello,
I run many gameservers (about 10), each gameserver has a different
database and all gameserver''s databases has the table "players" which
is associated to the model Player. So every time I want to work with
the Player model I need connect to a different database depending on
which gameserver I am working on.
My problem is that I need to make rails choose which database
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 Feb 08
5
Why are double sided polymorphic relationships lacking in Rails?
http://stackoverflow.com/questions/2224994/why-are-double-sided-polymorphic-relationships-lacking-in-rails
--
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 unsubscribe from this group, send email to
2009 Nov 20
3
Javascript Confirm for Form Value
How could I ask a user to confirm specific form input?
EX:
<%= f.submit ''Donate'', :confirm => ''Confirm your donation amount:
###amount###'' %>
Where the ###amount### would be replaced with the amount entered in
the form.
Thanks,
Dustin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2010 May 14
4
Tricky model situatione
I have two models Club and users. users are regular authenticated
users and some of them might create a club. A club can also have
members (essentially users) and there are attributes and models that
apply to member but not to users.
Here is what I have right now.
Club => belongs_to :user
User => has_many clubs (since a user can host multiple clubs).
Now how do I fit this member model
2010 Mar 19
3
Ruby on Rails tutorials for beginners are available here
Hello Everyone,
I have started my blog at http://railsguru.org.
Besides other stuff on Rails, the main focus of the site will be to
help beginners to learn Ruby and Rails and build the fundamentals.
Regards,
Pankaj Bhageria,
Tech Lead, Sumeru Software Solutions.
http://www.railsguru.org
http://www.sumeru.com
--
You received this message because you are subscribed to the Google Groups