Displaying 20 results from an estimated 700 matches similar to: "Authorization Plugin 1.0 release candidate + 3 test apps"
2008 Jun 20
15
before_save model callback rspec testing
hi all,
i''m learning rspec and i can''t figure out how to test if a callback is
executed in a model.
my model code is:
class User < ActiveRecord::Base
before_save :encrypt_password
...
def encrypt(password)
self.class.encrypt(password, salt)
end
thanks a lot,
cs.
--
Posted via http://www.ruby-forum.com/.
2006 Mar 06
20
How painful is the 1.0 -> 1.1 upgrade going to be?
Does anyone have a sense for how painful the 1.0 -> 1.1 upgrade is
going to be for existing apps? I''m finishing up my first real RoR
application with Rails 1.0. I can live with it staying at that level,
but I really want to use the has_many :through attribute to clean up
some of my code.
I''m not particularly interested in edge Rails, mainly because the
documentation for
2007 Nov 28
6
Broken edge
Hi all,
Not sure if I''m the only one with this problem...
We''re on edge for both rails and rspec, and i just did an update...
Some apparently innocuous rails stuff was updated, and then half my
specs broke due to an error in rspec_on_rails:
ArgumentError in ''UserController without logged in user should show
the index page''
wrong number of arguments (2
2006 Jan 07
3
user engine question
I''ve created an array of hashes in UserController#initialize to describe
a menu:
@menu_array = [
{:menu => ''home'', :controller => ''home'', :action => ''send_home''},
{:menu => ''user list'', :action => ''list''},
{:menu => ''login'', :controller =>
2006 Jul 17
22
Rails - where are the BIG web apps?
Ok, Rails has been out for some time now. I''ve kept an eye on it pretty
closely. I''ve heard Basecamp, Robot Coop, 43 Things, etc. are running
on it. However, those have been the same apps people point to when the
dreaded scalability question comes up. Are there any new web apps
(large scale) in Rails or is it still the same old one? Something like
on the scale of
2005 Dec 22
2
ACL Navigation Links
I''m currently using the ACL (Access Control Lists) system in my app.
The access control is working great, but I''d like to use the
permissions/roles setup in the database to hide links to areas a user
may not have access for automatically. I''m guessing that you could
setup a helper function to use instead of link_to and have it check
the permissions, but
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 Aug 10
2
Authentication: UserEngine or own creation?
Hi all
I''m coding a project that needs a lot of authentication stuff... e.g. I
write sort of a profile area, where users can create their different
profiles.
So I need to check if a user has the right to browse the profiles, if he
has the right to change them all (as an admin) or the ones that belong
to him etc. etc. This needs quite some logic...
Now I wonder whether to use the
2006 May 29
3
Hiding HTML Markup
Hi,
THis may be a simple question. I am trying to hide some HTML markup
language depending on a value. So for example I have the following in an
RHTML file:
<%if session[:role]=="Administrator" %>
<label><Strong>Administration</strong></label><br>
<%= link_to("Users", :controller=>"Users",:action=>"list")
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 Jun 07
6
Links on the left hand side - are components necessary?
Hello,
Maybe this is super-trivial...
I need to have a list of links on the left hand side of my application,
for *every* single page.
So, I''ve created a layout called "main" (main.rhtml) under
view/layouts, and included >layout "main"< in pretty all of my
controllers.
main.rhtml has, amongst all the other HTML stuff:
<%= render_component
2006 Dec 11
1
Index help on Polymorphic Associations
Hello,
I''m a newbie to aaf and rails and I hope anyone can help me with this.
I have the following Models:
class Project < ActiveRecord::Base
acts_as_authorizable
acts_as_audited :except => [:created_by, :updated_by ],
:user_class_name => ''AuthenticatedSystem'', :user_method =>
''current_user''
acts_as_ferret :fields => {:name =>
2010 Mar 08
3
RoR Developer Needed For Long Term Project [Jobs]
We are currently seeking a very experienced Ruby on Rails developer to
complete our Rails development; a social networking platform for
businesses and their customers. The project is 90%-95% complete, but
we need someone (or some company) to complete it and provide the
ongoing support and long term development that will be needed. The
system currently also includes a product shopping cart system
2006 May 30
7
RailsConf in London
<gloat>Well, that''s me booked in for RailsConf in september :0)</gloat>
Who else is going?
Steve
2006 Apr 11
5
[OT] RailsConf Tickets ?
Just in case -- if anybody has got a spare ticket for RailsConf, i''d
be very happy to buy it... I live in Chicago, so i can do this on
very short notice as well, should anybody not be able to attend... :)
Otherwise - this being Chicago - no question there''ll be scalpers... :)
Thanks,
Sebastian
2006 Jul 09
0
RailsConf Europe, Sept. 14-15: don''t put it off!
Hi everyone --
In the excitement of the Chicago RailsConf and other recent events,
don''t forget the excitement of RailsConf Europe!
You''ve heard of it, but it seems kind of shadowy compared to the "big"
events?
Here''s the news:
>>>>>>>>>>>>>>>> It IS a big event!
2006 Jun 07
1
Seat for RailsConf 2006
Hi!
I have a seat at the international RailsConf 2006 in Chicago but for
personal reasons I am not able to attend.
The conference has been sold out for a long time so I am now giving
you guys a chance to attend, if you are interested to take over my
seat, just drop me an e-mail.
More info on the talks, venue etc can be found here:
http://www.railsconf.org/
--
Cheers,
Joakim
p.s. Save a tree
2006 Jun 10
1
RailsConf 2006 Ticket Available
A friend of mine decided to get married on RailsConf weekend, so I can''t make
the conference. I checked the website and tickets are transferable, so I''m
making the ticket available to the highest bidder. The ticket was $400. I''m
not looking to make a profit, but I would like to recover the original cost.
Given that the conference sold out almost immediately,
2006 Jun 12
3
RailsConf Ticket
I have a RailsConf ticket available and am looking to sell it, as I won''t be
able to make it out to Chicago as something has come up.
Please email me off-list at nshb@inimit.com
2006 Jun 19
1
Anyone need a RailsConf ticket?
I haven''t decided for sure, but I''m considering not going to RailsConf this
weekend. Anyone out there interested in a ticket? $400.
Thanks,
Jeremy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060619/8109af28/attachment.html