Displaying 20 results from an estimated 22 matches for "billkatz".
2006 May 29
8
Rails and user authentification
I am a the point now where I have to add user authentification to my
application.
Anyone can point me toward an easy to use / secure library? I know about
ActiveRBAC and was wondering if there is anything else that I should
consider.
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Feb 21
2
Authorization Plugin for Rails
I''ve posted a lengthy description of an authorization plugin for Rails on my
blog:
http://www.billkatz.com/authorization
It describes a proposed DSL for authorization, a pattern for use that
describes conventions, and a reference implementation that lets you test the
some of the ideas. I hope that some subset of Rails programmers gravitate
toward a common DSL for authorization, which would ease sha...
2006 Jan 23
15
Looking for DB/Model Design Suggestions
Hi,
I''m working on an app - my first Rails - and am looking for some
suggestions on the best way (or good way) to set up my models / DB. In
general there are teams and matches; a team will participate in multiple
matches, and in each match there will be 6 teams - 3 vs. 3.
I''m going to want to be able, for a particular team, pull up all matches
for that team, to display a
2006 Feb 21
5
Abstracting ownership verification out of Controller
Right now I have a controller for "events" that belong to a specific
user. I only want the creator to be able to edit or delete the event.
I''ve got the proper foreign keys set up.
I''ve finally arrived at the point where I can take baby steps with
code, but looks like my first steps are in flagrant violation of the
DRY principle.
Here''s what I have so far in
2006 Apr 14
1
Summer of Code
Google''s Summer of Code program is opened for 2006. The Ruby community
didn''t respond quickly enough last year, but hopefully we can get some
sponsors for Rails and Ruby. Would someone high-up in the Ruby and/or Rails
community try to run with this?
-Bill
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Feb 11
4
Ruby/Rails T-Shirts/graphics?
Hey, I was just wondering - are there any Ruby and/or Rails t-shirts
available? Or nice, big graphics available to make your own?
Joe
--
Posted via http://www.ruby-forum.com/.
2005 Sep 08
1
Browser support and the increasing # of js frameworks
I''m wondering what other folks think of Dojo (0.1 just released),
MochiKit, and some of the other js frameworks relative to
prototype/scriptaculous (p/s). P/S seems to have broader support
although I''m not sure about IE 5.5 in the other frameworks.
A second question is related. I''ve got some AJAX working with
prototype + behaviour, and I''m building in refresh
2005 Sep 15
1
Javascript object literals -- prototype clash?
I''ve been playing with some ideas in getting the server-side Rails code and
client-side AJAX stuff working nicely together while still providing
fallback for non-js viewers. I''m using Behaviour + prototype.
I was experimenting with using an object literal to define forms that would
be inserted into appropriate divs. Why not just write the forms on the
server side and unhide
2006 Jan 26
4
warning: Object#id will be deprecated; use Object#object_id
Is anybody else getting this warning.
When I change @user.id to @user.User_id I am getting no method definition
present exception. Any thoughts?
Rgds,
--Siva Jagadeesan
http://www.varcasa.com/
My First Rails Project. Powered by Typo and soon by RForum too
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2006 Mar 12
3
Newbie: using find like a sql join query
I have a working Rails app with several related tables, but can''t find
an answer to this question in the Dave Thomas Rails book. Imagine for
example:
table departments with columns: id, department_name
table employees with columns: id, department_id, employee_name
and of course the employees table has a constraint foreign key
(department_id) references departments(id)
So this is
2006 Jan 21
5
How do you deal with non-model property form values
I have a User ActiveRecord model that has email and password properties. I
want to build a login for that has a "remember me" option. My view looks
like this:
<% @page_title = "Login" -%>
<%= error_messages_for ''user'' %>
<%= form_tag %>
<table>
<tr>
<td align="right" width="1%"
2005 Dec 21
13
Too many login generators?
there is a blog about it
http://www.realityforge.org/articles/2005/11/12/aaa_in_rails
There are so many Authentication/Authorization/Auditing generators now,
just like the situation in java''s world, Too many components doing the
samething just make me confusion. Why not add one to rails core lib and
everybody can extend it for their requirement ?
--
Posted via
2006 Jan 03
7
best authorization?
Hello,
I want to allow some users to manage other user accounts, but do not want them to manage the admin account.
I have tried auth_generator, login_engine and user_engine
I am having a hard time gettign this to work.
Looking for advise and help.
Thanks
Frank
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
2005 Aug 17
53
Everyone wants a RoR framework
It seems like everyone now has a RoR type framework:
Perl:
http://dev.catalyst.perl.org/
PHP:
http://cakephp.org/
Python:
http://www.django.com
ASP.NET:
http://www.castleproject.org/index.php/Main_Page
etc., etc.
Has a revolution begun with the birth of these "Web 2.0" frameworks?
Its going to be interesting when the tech media begins its mass hype
like it did SOAP, XML, etc. a
2005 Nov 16
37
Postgresql vs MySQL
Is there any reason to avoid using postgresql for small web apps? That is, is it''s
overhead so large that the lighter MySQL will work substantially better for small apps on
small machines? Or are they very similar in performance and configuration?
I''ve used MySQL but postgresql has its appeals and I''m wondering if I need to keep MySQL
around at all.
On the other
2006 Oct 30
16
Seymore - Content Management On Rails
I have just open sourced my Content Management System called Seymore.
Rather than having a separate administration section for managing
content, content management functions are available throughout the site
so users are able to contextually and comfortably manage the content. I
am looking for any and all feedback. Please, either checkout the latest
source from subversion, grab version 0.1 from
2006 Feb 23
20
ActiveRbac 0.3 release - We''re now on Engines
Hi
I have just released the 0.3 revision of ActiveRecord - make sure to
get the fresh, hot packages from
https://activerbac.turingstudio.com/releases
What is ActiveRBAC?
-------------------
ActiveRBAC is a Ruby on Rails library that provides a full stack RBAC
(Role Based Authorization) system with user, group, role and
permission management. It provides models and controllers to edit
2006 Jul 11
0
Should I use exclamation marks for methods that change associations?
I''ve been getting some good feedback on the Authorization plugin
(http://www.writertopia.com/developers/authorization). Josh Susser
suggested I use exclamation marks when I''m setting roles. The basic
ways of setting roles uses the #has_role, #has_no_role, #accepts_role,
and #accepts_no_role methods:
user.has_role ''site_admin''
user.has_role
2006 Jul 19
0
Authorization Plugin 1.0 rc3 + Test App
http://www.writertopia.com/developers/authorization
Inching toward full release. Minor changes, now lets you set constants
for redirection and store locations in environment.rb, and removal of
a dumb double redirect error that was introduced during refactoring.
Also added an integration test (contributed by David Altenburg) that
would have caught the issue.
The authorization plugin provides the
2006 Jan 26
0
Graceful handling of temporary failure in name resolution when generating emails?
Hi,
I''m getting an infrequent "Socket Error (getaddrinfo: Temporary failure in
name resolution)" when sending e-mail with ActionMailer. Most of the time,
mail works. But I noticed the error during testing and wondered what best
practices might be for handling this kind of error. My SMTP settings look
OK. I''m running RHEL 3 for my Rails app and use an external SMTP