similar to: UserEngine and hiding controllers

Displaying 20 results from an estimated 400 matches similar to: "UserEngine and hiding controllers"

2006 May 19
0
Hiding and unhiding actions.
I''m using the UserEngine, so I have a UserController that responds to /user/action. I subclassed it with an Admin::UserEngine. I''d like to have some actions available in the subclass and *not* in the superclass. If all the code was mine this would not be a problem, of course. However , I''d like not to change their code. I had a look at hide_action, but there
2006 May 14
6
Controller Inheritance
Is there any known problem in inheriting a Controller from another controller (that is to say having an Admin::PostController < PostController, with PostController < ApplicationController)? It is something I haven''t seen done in tutorials or books, however in my opinion (and as far as I can see from my tests) it should work.
2006 May 16
7
svn-1.3.1 errors on intel mac on checkout
I just installed svn-1.3.1 from .dmg on an intel mac. I am getting ... subversion/libsvn_wc/log.c:338: (apr_err=155009) svn: In directory ''sr'' subversion/libsvn_subr/io.c:565: (apr_err=2) svn: Can''t copy ''sr/.svn/tmp/text-base/README.svn-base'' to ''sr/README.tmp'': No such file or directory Any one getting this? TIA for any help.
2006 May 19
2
looking for doc
Hello evrybody, I''m new on this mailing-list. I begin with ruby on rails and Ajax, so i''m looking for good documentation. It would be great if you can send me some... Sorry for my english. Bye. Mathieu
2006 Jul 31
4
RJS to find an element
I''m trying to implement a remove from cart method based on the examples in the second edition Agile book. I have everything working except for the RJS that removes items from the cart. Ideally what I''d like to do is highlight an element that I am deleting only if there is more than one of that particular item in the cart. If the item deleted is the only of
2006 May 23
7
has_and_belongs_to_many question
Hello, I am trying to make the "switchover" to programming my apps in Rails and have a question about database structure. In the past i would structure a many to many like this: categories ---------------------------------------------------- | id | name | ---------------------------------------------------- 1 Some Category 2 Another
2006 May 13
10
new user
Hi!!!! I''ve tried ROR! it''s fantastic!!! wonderful!!! I WANT LEARN ALL ABOUT IT!!! Do you have some links ( if exists in italian language ), or suggest me some book i can buy?? thx very much -- /\/\ariano Di Felice Java PHP Python programmer with MySQL, PostgreSql, SQLite and Oracle support Linux Platform Developer mariano.difelice@gmail.com Tel. 0735 703735 Cell +39 339
2008 Jan 16
1
session data and user stories
hello there, i have been trying my hand at this rbehave material, specifically in terms of integration testing a rails application, and i am curious about the most friendly way to deal with session data. currently, the only way i have found to simulate a session is to open a session and refer to everything afterward via the @session variable stored after open_session. it seems to be workable,
2006 May 16
7
WYSIWYG IDE, etc...
I''m new to Ruby, so don''t be too hard on me. Is there a great visual editor for Ruby? Also can Ruby on Rails (RoR) work with any other databases other than the ones listed in the documentation, I need to connect to SQLBase? Can Ruby be used to create standalone Applications (like Java)? If yes, does it create native looking apps? Can it be use in Client-Side and/or Server
2006 May 23
14
Learn Ruby before Learning Ruby on Rails ?
hello Friends, I am a newbie to "Ruby or Ruby on Rails". A J2EE application architect at my day job. A fairly experienced PHP web-developer as well. After reading into the many articles on Ruby/ROR, have to admit looks pretty good so far. Really serious about getting into this and possibly developing some good Web 2.0 applications. Just wondering the best way to learn Ruby on
2006 May 17
40
IDE recommendations?
I was wondering if there are any IDEs out there that has autocomplete features for win32. It would be perfect if it could do something akin to what DHH is doing on the screencast hosted on the rails website. http://media.rubyonrails.org/video/rails_take2_with_sound.mov Cheers -- Posted via http://www.ruby-forum.com/.
2006 Jun 07
0
Adding ''author'' functionality to UserEngine / RBAC roles
I''m trying to add / extend the default UserEngine schema (Guest/User/Admin) to support author only Update/Delete functions. At the moment, I allow ''Guest'' to read/view all records, and User additionaly has access to create/edit/destroy, however this means that any registered user is able to modify any record. My first thought was to add another filter in the chain
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 Jul 27
0
Should I be extending UserEngine for User Preferences?
Fairly high level question here. I''m using LoginEngine & UserEngine with success. My application needs to track user preferences, which includes some associations with my models. Should I be extending the UserEngine model(s) and adding my own attributes? This means adding a lot to a plugin, including extending controllers and views. Or should I be creating my own
2006 Apr 28
0
UserEngine + User Profiles
[Cross Posted in Rails Engines] I''m taking a new approach to how I view user data, I think in the end it will be faster for the system anyways... What I''m doing is using LoginEngine/UserEngine combo on my site for authorization, and I want each user to have a profile that they edit and maintain. Each user would have 1 profile. My question is getting my profile and my user
2006 Jan 23
2
UserEngine -- Permission.synchronize_with_controllers -- trouble with my own controller modules
I suspect there''s an easier version of this question that I could ask, but I''m not sure where I''m going wrong. I have LoginEngine and UserEngine setup and seemingly running fine. However, not all of my controllers are being found when I run "rake sync_permissions". Specifically, it''s the controllers that are not in the base controllers folder, but
2005 Dec 14
2
[UserEngine] Configuring minimal access without logins
Hi, I''m playing around with the UserEngine for limiting access to my app and I like what I see so far. One question, however, I''d like to be able to set it up so that any user navigating to the site is automatically set as "anonymous" or some such access level with minimal permissions, without having to login. IOW, the login function should only be used by
2006 May 30
0
UserEngine / LoginEngine + file upload
I''m trying to setup loginengine/userengine for my site, and I''ve added one extra field to the ''user'' table, which is supposed to store the filename of the user''s picture. Now, I have upload_progress/file_column working on other parts of my site, but when I try to submit a multipart from within user/edit controller I get the following error message
2006 Mar 16
0
UserEngine and the test environment
Hi ! I was going to write a test that asserts that my home page controller''s index action is available for guests: class RootControllerTest < Test::Unit::TestCase def test_guest_access_granted_to_home_page get :index assert_response :success end end Obviously, this test fails. If I change the dev DB, I can test in the browser, and it works fine. But, the test DB does
2005 Dec 02
8
UserEngine: stack level too deep
Hi, I''m trying to get the UserEngine running. I have installed the LoginEngine, added the essential lines to environment.rb / application.rb and application_helper.rb. Worked fine. Then I did the same with the UserEngine and when trying to set up the db: rake engine_migrate ENGINE=user I get: Migrating engine ''user_engine'' rake aborted! stack level too deep But...