Displaying 20 results from an estimated 1000 matches similar to: "Salted Hash Login Generator"
2006 Jul 13
6
Content_for_layout
Question- if I have more then one view I wish to display in a layout , how
do I tell content_for_layout what to display and where ?
TIA
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060713/a2d0a8c8/attachment.html
2006 Jul 10
7
What is has_many :through really buying you over HABTM?
So having just learned how to do has_many :through as opposed to HABTM,
and then, being concerned that I wouldn''t get it to work, I started
thinking about these two approaches.
It seems to me that the _only_ problem that the HM:T (has_many :through)
approach solves that HABTM doesn''t is the issue of the potential
collision of id columns between your join table and one of
2006 Jan 16
2
LoginEngine vs. LoginGenerator?
I just saw a mention here of LoginEngine, which I hadn''t heard of
before. Last week when I was digging for user-account sample code for
my web-app, I instead found the LoginGenerator and started using that:
http://wiki.rubyonrails.com/rails/pages/LoginGenerator
Is one of these preferred over the other? From skimming the API docs,
it does seem that LoginEngine has more features,
2005 Oct 20
5
Unit Test Error: `load_specification': undefined method `parse' for Time:Class
All,
I''ve come across a confusing problem when attempting to run unit tests
for an application on OSX (works on Windows).
I''m receiving the following error:
`load_specification'': undefined method `parse'' for Time:Class (NoMethodError)
This is also confusing because I can''t figure out how the error
appeared. When I revert back to previous revisions,
2006 May 11
3
can''t call link_to from within a model class
can anyone tell me how to call link_to from within a model class? I''m
trying to do something like the following:
validates_uniqueness_of :email, :message => "address has already
been taken. If you''ve forgotten your password, please click " +
link_to(''here'', :action => ''forgot_password'', :controller =>
2006 Jul 11
18
Zip Code Ranges
Does anyone have any recommendations for working with zip code distance
ranges? I need to calculate the distances between US zip codes.
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060711/f133d7de/attachment-0001.html
2006 Jun 21
5
model with not te be updated attributes ?
Hi List,
I have a table that contains several fields that must be initialized
when first created, but may not be altered afterwards (when updating the
other fields) because they can be changed by external processes.
I noticed that the ActiveRecord update commands (even update_attribute)
only seem to work by loading the complete record, changing fields that
need to be changed and doing a full
2007 Jan 23
11
dynamic tablenames
Hi List!
May I tap into your combined common sense ?
I have a legacy logging app that needs to be modernized. At the moment,
Data is going to be stored in 5 tables, one table is going to contain
more than 200 million and 2 others about 60 million rows. Mysql will be
used, unless someone sees a major advantage in using something else (at
the moment data is stored in a raw positioned file format,
2006 Jan 29
3
SHLG and lib dir
Slowly figuring out how to get my SaltedHashLoginGenerator stuff working. The wiki page
says to put "before_filter :login_required" in the user (my "user" is "member") controller
or in ApplicationController. However, wherever I put it I get NoMethodError.
The rest of the SHLG stuff seems to be working... or at least I could get to the signup
page, register, and
2006 Jun 08
21
"Rails recipes" vs "Rails cookbook"
Reviews Wanted.
I''ve read the tables of contents and haven''t yet made up my mind.
Is one book clearly better than the other? Is one clearly full of bugs? Is one so much
further ahead that there is no choice? Are they both so incomplete that I should just
wait and only cook real food? Do trains still have dining cars?
Warren Fred
-------------- next part --------------
An
2006 Apr 17
11
Would you switch jobs for the chance to use Textmate?
Lets say you had a pretty decent job, but your company mandated use of
emacs. The poaching employer offers you a free copy of Textmate(tm).
Would you jump ship solely in order to use Textmate at company B?
Cheers,
Dave
--
Posted via http://www.ruby-forum.com/.
2006 Jun 19
5
Wysiwyg HTML Editors and Rails ?
What wysiwyg html/CSS editors do people recommend. I''m mainly interested in FOSS programs
that I can run on WinXP. Sometimes you just have to create some mostly-static pages and
make them look nice. I see that Guy Kawasaki is using Nvu, which is based on Mozilla
composer. Any of you guys have any experience with that?
Warren Fred
-------------- next part --------------
An HTML
2006 Jun 06
9
How to protect images from public?
Hi,
I''m trying to figure out the best way to protect images uploaded by
users who may wish to keep them private.
For example, if they are uploaded in the default file_column location
(/public/blah/blah/1/) then someone can simply type the URL
http://www.blah.com/blah/blah/1 and get the image.
I can store the images in a non-public directory in the rails app (ie:
/railsapp/images/X/)
2006 Feb 17
7
FCGI hanging w/ lighttpd and RoR 1.0 (need to kill -9)
Hi, everyone,
I''m currently running a Rails 1.0 project using lighttpd-1.4.9 behind
Apache 2 on RHEL 3. My fcgi process (I''m only using one right now)
always hangs after some time, which is something I haven''t experienced
before (e.g., I''ve run this same app. on a TextDrive account and it
works fine there).
So ... any ideas on what could be causing this?
2008 Mar 19
6
Back button behavior has changed again in Safari 3.1, after doing a dom update via ajax/RJS
GAH!
Here is the firefox behavior, which is perfect:
1) View page 1
2) Update some text by using link_to_remote or remote_form_for, along
with an RJS replace or replace_html
3) Navigate to page 2
4) Hit back
5) Page was cached with dom updates, note that the page is show in the
same state as it was left
Safari 3.0 behavior
1..4) repeat
5) Page reloads, ending up in the state where it was left
2006 Feb 21
29
script/console
The agile book says "You can inspect variables, set values, add other
breakpoints, and generally have a good time".
This is very sweet and totally useless. For example, I want to see the session variable,
the cookies variable and so on. These names are unknown. I think I guess that the things
that are available depend on where you put the breakpoint() call. I''ve tried a
2006 May 17
3
Session in ActiveRecordStore
The Agile book seems to say I should specify this as follows, probably in the
environments.rb:
ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS[:database_manager] =
CGI::Session::ActiveRecordStore
BUT the environments.rb file would have me Un-Comment this:
config.action_controller.session_store = :active_record_store
Anyway, I''ve tried both, and in both cases it
2006 Jul 04
4
Question about Salted Hash Login Generator
Hi,
I am using salted hash login generator to create my login page. In the
user_environment.rb file, I saw that there is a comment saying should
NOT include the email field in the changeable user fields array. Does
anyone know why?
> # Add all changeable user fields to this array.
> # They will then be able to be edited from the edit action. You
> # should NOT include the
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
2006 Jan 12
4
Domain Registration -- Private ?
The domain registration companies are pushing an add-on called ''Private Registration''
where they keep your email and other personal info secret to prevent spam. Is this a good
deal? Is it needed? Do you have it? Do you wish you did?
Warren
-------------- next part --------------
An HTML attachment was scrubbed...
URL: