Displaying 20 results from an estimated 900 matches similar to: "Hiding and unhiding actions."
2006 May 16
3
UserEngine and hiding controllers
I''m using LoginEngine + UserEngine for web application.
1. I have some controllers under and admin subdirectory
(Admin::PostController etc). The auto-fill permission in UserEngine
does not work correctly with those controllers.
Right at the moment this is not a problem, since I kind like having the
Admin section separated and available only for god users. However, I
could use
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 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 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
2011 Feb 18
1
Rails plugins new official maintainers
Hey guys,
This is the final list of the new maintainers of each plugin.
We need two more things to do:
First please the owners of the repos add the rest of the maintainers.
Second I will add a note on each rails/plugin mentioning this repos updates.
So from now on, if someone else is interested in helping/contributing
please send a message to the appropriate repo owner.
verification
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 Jan 14
4
hide_action doesnot hide view
The view file (eg. apps/views/items/list.rhrml) is still displayed even
when the action is hidden (hide_action :list). How can I hide view file
form being automatically displayed in this circumstance?
thanks,
jigar
--
Posted via http://www.ruby-forum.com/.
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 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 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
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
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...
2005 Dec 09
7
UserEngine - rake bootstrap aborted
Hi there,
I''ve just installed login_engine and user_engine from the repositories,
followed the setup procedures as documented in:
vendor/plugins/user_engine/README
But I''m getting the following failure:
vince@vaio:~/Projects/Booking$ rake bootstrap
(in /home/vince/Projects/Booking)
rake aborted!
undefined method `edit'' for class `UserController''
2006 Jan 30
2
Modules, controllers and inheritance
Hi!
I was trying to cleanup my app and I runned into quite a problem. My
controllers in submodule do not seem to inherit things from base
class.
I have following setup:
app/controllers/
application.rb:
class ApplicationController
admin/
admin_controller.rb:
class Admin::AdminController < ApplicationController
include LoginEngine
include UserEngine