Displaying 20 results from an estimated 500 matches similar to: "Re: login sugar"
2006 Nov 04
0
login sugar generator
After being frustrated (yet again) last week when attempting to use
the salted_login_generator in a new rails project, I have modified it
so that it works better for my needs. Since the
SaltedHashLoginGenerator wiki page seems to indicate many people are
frustrated by this package which is very nice but has been broken
since rails 1.1.4 I think, I have gem-ified my version of the
generator and
2005 Jul 05
2
Salted hash login generator (verification problem?)
Hi all,
I hope someone can help with what is probably a simple newb
installation mistake on my part. I''m having a couple of problems with
the salted hash login generator. I installed it following the
quickstart guide, and the unit tests work like a charm. There are two
errors and a failure on the function tests, though; the verified field
seems to be involved in at least one of
2006 Apr 14
1
SaltedHashLoginGenerator Integration Woes
I''m trying to modify the SaltedHashLoginGenerator to where it separates
the users table into two tables: a users table which contains login
info: token, salt, etc) and userprofiles table (which contains
firstname, lastname, authlevel, etc)
I''m trying to use the existent helper for user under
app/helpers/user_helper.rb and copied to
app/helpers/userprofiles_helper.rb and
2008 Jun 21
0
Git and script/plugin; How I pass the PATH variable?
RoR People,
I''m trying to use script/plugin and git.
I see this error:
mac2:/pt/webprops/mmhq/mm12/mymoney maco$ ruby script/plugin install
git://github.com/activescaffold/active_scaffold.git
removing:
/pt/webprops/mmhq/mm12/mymoney/vendor/plugins/active_scaffold/.git
sh: line 1: git: command not found
mac2:/pt/webprops/mmhq/mm12/mymoney maco$
mac2:/pt/webprops/mmhq/mm12/mymoney maco$
2006 Aug 16
0
sort_link_helper , sorting on date
I am using this helper to sort my table colums, no problem sorting on
string but how can I sort a date colum ( in my DB, )
user_helper.rb ----------------------
def sort_link_helper(text, param)
key = param
key += "_reverse" if @params[:sort] == param
options = {
:url => {:action => ''list'', :params => @params.merge({:sort =>
key, :page =>
2008 Jun 08
0
Test driving Facebooker with Rspec?
I''ve been spiking on a Facebook application so far just to learn the
Facebook(er) API, but I''d prefer to test drive.
It seems to me (with my limited knowledge) that what''s needed is some sort
of mocking framework at the network level. I''m thinking of creating a set of
YAML files similar to fixtures that represent the remote Facebook state,
then overriding
2006 Jul 20
4
Help with Rails and postgres with sequence numbers (global?)
Hello,
I am building an Rails applications that has to integrate an legacy
system (lxoffice) (schema at:
http://www.lx-office.org/uploads/media/DB_Schema_2.1.1_R_393_17_03_2005_.pdf).
They somehow use global ids (global for some tables). I can not change
the schema and still I want to use Rails to access it and not pure SQL.
When I try to insert a record I get the following message:
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2006 Apr 19
0
My database model''s connection appears messed up.
I am trying to add data from a form, and the rails doesn''t appear to be making
any effort at all. I''ve put deliberately erroneous data, but still nothing.
All the development log shows is this.
This is the code in use - based on the example from Rails book
def add_customer_admin
if request.get?
@login = CustomerAdmin.new
else
@login =
2005 Jun 08
0
warning: already initialized constant problem
Hi,
I am getting the following error in WeBrick when using salted login
generator:
> ./script/../config/..//app/helpers/user_helper.rb:7: warning: already
> initialized constant DEFAULT_HEAD_OPTIONS
> 127.0.0.1 - - [31/May/2005:18:04:55 PDT] "HEAD /company.html HTTP/1.0"
> 200 0
Now, I can easily get around this bug but i wondered how to prevent it
from happening.
2015 Oct 24
0
ADUC - "UNIX Attributes" tab - "Unwilling To Perform"
On 24/10/15 18:18, Jonathan Hunter wrote:
> Thanks Rowland - appreciated.
>
> I have checked the ldbsearch result and both groups look to be pretty
> much exactly the same to me, one of them is shown below (I have
> sanitised some of the output, replacing parts with 123/a/b/c, but the
> rest of the output is byte for byte as seen)
>
> In the time between posting my original
2008 Jan 15
1
actionmailer the background
I have bdrb successfully set up and running in a local project. It''s
doing two things:
1) processing large csv files and using ActiveRecord to insert
2) sending large batches of emails using ActionMailer
In development both work well. I see my ActionMailer emails in the
log (though it''s the development.log -- odd?)
On the production server csv processing works well, but
2015 Oct 24
4
ADUC - "UNIX Attributes" tab - "Unwilling To Perform"
Thanks Rowland - appreciated.
I have checked the ldbsearch result and both groups look to be pretty
much exactly the same to me, one of them is shown below (I have
sanitised some of the output, replacing parts with 123/a/b/c, but the
rest of the output is byte for byte as seen)
In the time between posting my original message and checking again
just now, however, I have the following additional
2006 Apr 29
4
Wild SQL -- public/500.html -- postgres-pr
Every page of my DEPOT on Postgresql rails app now gets an error from postgres-pr about
some wild left-join SQL that has nothing to do with my tables:
SQL (0.000000) NameError: undefined local variable or method `errors'' for
#<PostgresPR::Connection:0x3b200c0>: SELECT a.attname, format_type(a.atttypid,
a.atttypmod), d.adsrc, a.attnotnull
FROM pg_attribute a LEFT JOIN
2010 Sep 17
0
ruby's oauth2 grant_type
Hi, i started using oauth2 gem by intridea
(http://github.com/intridea/oauth2) and don''t know how to fix this
problem. I have developed both client and server and on request for
access_token i see no grant_type parameter. My code from client callback
controller
class CallbackController < Devise::OauthCallbacksController
def accounts
access_token =
2006 Feb 12
1
fcgid -> errors
Hi,
I''m trying to get rails running on Debian stable with Apache 2,
mod_fcgid, Rails 1.0. The application works fine with webrick (*).
Let''s start here:
@eugene [/var/www/ls2/linuxsi/public] $ ./dispatch.fcgi
Status: 500 Internal Server Error
Seems to result in the following in the log files:
[12/Feb/2006:12:18:40 :: 4105] starting
[12/Feb/2006:12:18:40 :: 4105] terminated
2009 Nov 26
2
[error] avahi_entry_group_add_service_strlst("AdminNodeFQDN") failed: Invalid host name
Hi,
After doing a clean install of ovirt in a Fedora 11 VM, I am unable to
get anything working in the web interface. All I get is an error 500.
After reviewing the logs I see the following error in
/var/log/http/error.log
[Thu Nov 26 11:29:11 2009] [notice] Apache/2.2.13 (Unix) DAV/2
mod_auth_kerb/5.4 mod_nss/2.2.11 NSS/3.12.2.0 mod_python/3.3.1
Python/2.6 configured -- resuming normal
2006 Aug 04
1
Need a better undersanding of form helpers
perhaps someone can take a little time to give me a better
understanding of how to use form helpers.
Here is what I''m working with in my app:
user model - (the table where a user registers their information)
it contains the following fields -
first_name
last_name
email
account_type (currently set to string but will probably be a select
box with options)
password_salt (I''m
2008 Nov 04
9
RSpec and PostgreSQL not playing nicely together
Here is a very simple spec:
--
require File.expand_path(File.dirname(__FILE__) + ''/../spec_helper'')
describe Product, "The Product model" do
describe "When a new blank product object gets created" do
before(:each) do
@product = Product.new
end
it "should not be valid" do
@product.should_not be_valid
2005 Nov 07
0
pk_and_sequence_for(table) bug?
Hi,
Doing connection.pk_and_sequence_for doesn''t return anything when I''m
positive I''ve got a PK and sequence on my table on column "id", see DDL
below. Is this a bug?
?> Player.primary_key
=> "id"
>> Player.connection.default_sequence_name "players"
=> "players_id_seq"
>>