Displaying 20 results from an estimated 30000 matches similar to: "(no subject)"
2006 May 22
1
Problems with ActiveRbac plugin
*Sorry for the first mail without subject*
Hello,
I try to use the active_rbac plugin (0.3.1) with Rails 1.1.2 but can''t
succeed for the moment.
Here is what I did :
1 - install Engines Plugin
=> OK. ''rake engines:info'' gives me "1.1.1" as the engines plugin version.
2 - install Active_rbac plugin
=> OK. Files are copied in vendor/plugins/active_rbac
2006 May 29
1
Engine: Active_RBAC not working, missing require
Hi there,
I try to install the active_rbac plugin as described in the manual on
the active_rbac trac site. The installation through the plugin script
was great:
ruby script\plugin discover
ruby script\plugin install engines
ruby script\plugin install active_rbac
I set up the environment.rb in rails\config dir correctly to
Engines.start :active_rbac
But if I try a rake db:migrate:engines
2006 May 01
0
ACTIVE_BRAC engine migration error.
Hi there, I''ve installed the active_rbac engine and am following the manual to install it. I''ve come to point 2.2.1 Installing Engines and ActiveRBAC . When I try to execute the engines migration I get the following error:
C:\Documents and Settings\Keegan\My Documents\Website Work\live2move\code\L2M>rake db:migrate:engines --trace
(in C:/Documents and Settings/Keegan/My
2006 Jun 14
0
ACTIVE_BRAC engine migration error.
Hello Keegan,
You may already have forgotten about your posting from last month - but I
stumbled across the EXACT same error today, and figured out a way around
it.
The difficulty stems from you running under Windows XP, probably running
InstantRails, right?
I fairly quickly discovered that the reason things were not working
according to the ActiveRBAC Manual was that
the code for
2006 May 30
2
Plugin install using version
Hallo,
after I found an bug item for my active_rbac problem on windows using
ruby one-click last stable (1.8.2 I guess), there was the rant to
downgrade to engines-1.1.1.
I successfully installed engines-1.1.2 and removed it by
ruby script\plugin remove engines
I tried
ruby script\plugin install engines-1.1.1
in the gem way of handling versions but that didn''t worked.
Any idea
2006 Jun 20
3
WEBrick just decided to take a hiatus on me
Good day all.
This is one of the most frustrating days I have had with Rails in quite some
time now (almost 8 months actually).
Yesterday I complete my development and testing and everything is peachy.
I head home for the evening and do my things there.
This morning, I come back in and do my typical morning routine of starting
up eclipse and the usual "ruby script/server" command in
2009 Jul 20
9
rake error
When I run rake test:units I get this error:
292 tests, 350 assertions, 2 failures, 13 errors
rake aborted!
Command failed with status (1): [/usr/local/bin/ruby -I"lib:test" "/
usr/loc...]
This error just showed up yesterday --- I have no idea how I caused
it. Here is my gem list in case that helps:
actionmailer (2.3.2, 2.2.2)
actionpack (2.3.2, 2.2.2)
activerecord (2.3.2, 2.2.2)
2006 May 15
2
login engine error
Hi everybody,
I am new to rails.
I get the following error when run the rake engine:migrate for the
engine login_engine.
------------------------------------------------------------------------
gbalaji:~/projects/test/vendor/plugins/login_engine gopalbalaji$ rake
engine_migrate ENGINE=log --trace
(in /Users/gopalbalaji/Projects/test)
** Invoke engine_migrate (first_time)
** Invoke
2008 Jan 18
5
How do I pass form values from POST controller specs?
Hi there
I just started my first Merb app and I''m running into some weird
things in Specs. When I do:
describe "create action" do
it "should create a new project" do
project_params = {:name => ''bekkunin''}
Project.should_receive(:create).with(project_params)
controller, action = post(''/projects'', :project
2006 Jan 19
4
UserEngine - rake bootstrap aborted => undefined method `synchronize_with_controllers'' for Permission:Class
Good day all.
I have successfully installed Engines and LoginEngine and LE is setup and
running correctly.
However, after installing and setting up UE, when attempting to run the rake
bootstrap method I get the following error:
undefined method `synchronize_with_controllers'' for Permission:Class
My environment is
Rails 1.0.0
Ruby 1.8.2
WinXP
WebBRICK
MySQL 4.1.14
I found the following
2006 Apr 06
4
Engines 1.1.1
Since a minor change in Rails (renaming the file that the version is
stored in, namely) causes a bit of a hiccup for the Engines plugin,
here''s a new release, full of bug fixes and other nice things.
ALL users of Engines are advised to update their copy of the plugin to
get these fixes. The Engines plugin is fully backwards compatible with
Rails 1.0. Anyway - to update, please download
2006 May 04
0
Using ActiveRBAC 0.3.1 to restrict entire site?
All,
I''m trying Active_rbac for the first time.
I have the basics working so I can protect a single controller.
I want to protect all of my controllers so users have to login to see anything.
I''m trying to put a before_filter in my application controller, but I
don''t know how to do the except correctly. I''ve been trying this:
class ApplicationController
2006 Aug 10
2
rendering templates from an engine''s app dir
Hi there,
i have a rails application which use the active_rbac engine for user
and access control.
How can I use the original login, etc. forms which were provided with
the engine as partials in my application? I''ve tried all of the below
mentioned approaches and it seems so that I cannot reach the templates
provided under the [RAILS_HOME]/vendor/plugins/active_rbac/app/views
directory.
2008 Oct 14
1
Starting Server gives an error
Hi,
I had created a new environment and tried to start the webrick server
for that environment but it is giving an error:-
E:/demo/vendor/rails/railties/lib/commands/servers/
webrick.rb:11: warning: already initialized constant OPTIONS
E:/demo/vendor/rails/activesupport/lib/active_suppo
rt/dependencies.rb:249:in `load_missing_constant'': Expected E:/Demo
2010 Apr 15
1
Problems with rake
I receive an error when I try to create or setup database using rake
command. Rake is installed.
Error: bash: /opt/local/bin/rake: /opt/local/bin/ruby: bad
interpreter: No such file or directory. Is it not in the path but how
come I can to gem list show the gems?
Please help
gem list
*** LOCAL GEMS ***
actionmailer (2.3.5, 2.2.2, 1.3.6)
actionpack (2.3.5, 2.2.2, 1.13.6)
actionwebservice
2008 Jan 18
2
CC.rb and RSpec
When trying to configure a rspec 1.1.2 based app in CC.rb, I came
across the following:
/home/bryan/cruisecontrolrb-1.2.1/projects/support-engines/work/vendor/
plugins/rspec_on_rails/lib/spec/rails/../../../../rspec/lib/spec/
runner/options.rb:218:in `files_to_load'': File or directory not found:
cc:build (RuntimeError)
from
2006 Mar 01
1
Net/Https & active_rbac & Debian Sarge
Hi,
I''m attempting an install of active_rbac but am having some troubles.
I''m running Debian 3.1 sarge and I am getting an error saying that I
need to have net/https installed.
I checked out my ruby lib and net/https.rb is nowhere to be found.
I''m running the default ruby for Sarge which is 1.8.2. Was https.rb not
included in this build?
How can I get around this? I
2007 Dec 13
2
Trying to use ActiveRecord STI but fails
Hi all,
I''m wondering about my sanity here. There''s probably something simple I
overlooked. First off, I have close to zero experience with Merb.
1. I configured use_orm :activerecord in config/dependencies.rb;
2. I have a file named app/models/measurement.rb which looks like this:
class Measurement < Observation
end
3. I have another file named
2005 Dec 27
2
Error when starting WebBrick after installing Login Engine.
I''ve installed and configured my app according to the instructions of the
README file. When I try to start WebBrick i get the following error:
./script/../config/../config/environment.rb:55: undefined method `config'' for
LoginEngine:Module (NoMethodError)
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in
`require__''
from
2006 Jun 12
2
Migrations and primary id
I set up a migration yesterday for the first time and remembered that Rails
will assign a primary id column on it''s own. No need to put it in to the
SQL.
The name of the column though is just "id", is there a way to over ride the
default if I wanted ?
TIA
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: