similar to: running rake commands from rake migrate

Displaying 20 results from an estimated 1000 matches similar to: "running rake commands from rake migrate"

2006 Apr 08
1
Problems with Login Engine/rake
Hello, I have been having problems installing the Login Engine. I follow all the steps found on the download site (rails-engines.org), but when I get to the DB_SCHEMA step, I do rake engine_migrate ENGINE=login in the application root. """ C:\rails\cag> rake engine_migrate ENGINE=login (in C:/rails/cag) rake aborted! Don''t know how to build task
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...
2006 Mar 30
5
Re: How to Password Protect a Controller
Sure, have a look to the login generator (gem install login_generator) -, then script/generate It''s very easy to use. -- Posted via http://www.ruby-forum.com/.
2006 Apr 15
3
login_engine database migration broken?
I''m trying to install the login_engine. I installed the engine system and the login_engine, and now I''m trying to migrate the database schema, as detailed here: http://api.rails-engines.org/login_engine/. The commands I''ve tried are: rake engine_migrate ENGINE=login which fails with "Don''t know how to build task
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 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
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 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 Dec 25
2
How do I install user_engine & login_engine?
Hello, I have a Mac & PC and want to install these plug-ins. I do not understand the svn, what commands do I use? Thanks Frank
2006 Jan 30
14
RoR admin system
I''m preety new at RoR (and programming), I tried a few tutorials, and really like the RoR simplicity, but my knowledge of the framework still isn''t very good (to be true, i understand the basics, but not everything that''s in the tutorials). But still I''d like to create a website which has: - front end interface (with no edit functions) - admin interface
2006 Jan 29
0
Rake 0.7.0 breaks "rake engine_migrate"?
Hi, Everything was working fine. Then I upgraded Rake to 0.7.0. Now, when I do a "rake engine_migrate", I get: ~/Projects/cisv/trunk joevandyk$ rake engine_migrate (in /Users/joevandyk/Projects/cisv/trunk) The db/migrate directory for engine ''login_engine'' appears to be missing. Should be:
2005 Dec 18
3
automatically generate migration from db/SQL?
Hi, I''d like to use migrations to build my initial database. Is there a gem or plugin that will generate the migration code for initial db if I point it at a live database or sql file? If yes, then can you automatically generate the incremental migrations as well? Thanks, Jason
2006 Apr 28
2
tests and login_engine
Hi there, I just started writing tests today after some months of using rails (slap wrists). I seem to be getting the hang of things, but I''m hitting a wall when it comes to functional_testing pages protected by login_engine/user_engine. all my assertions come back with: Expected response to be a <:success>, but was <302> Is there a way I can login from within a test?
2005 Dec 14
2
console and webrick problems
Hi, I''m having errors when running webrick or the console. webrik starts, but give me an error when I try to load my controller. It give the same error as the console: #ruby script/console Loading development environment. /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/console.rb:23:in `exec'': No such file or directory - irb -r irb/completion -r
2005 Dec 31
9
Railspdf plugin problem
Hi, For my app i need to generate pdf file for reports. I am trying the railspdf plugin, got it installed using command: ruby script/plugin install svn://rubyforge.org//var/svn/railspdfplugin/railspdf/ The problem is that when i re-started my webrick it won''t run, with errors messages like this (shown only first message): *D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.2.5
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
2006 Dec 26
15
is there a way to not repeat installing plugins?
i seem to be using the same plugins for all my sites and was wondering if there is a way to make the process easier and faster? is this what is called by "packing your own gems"? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"
2006 Jul 31
1
Starting backgroundrb from rails and restarting with rails
Hi, I have my rails sites tricked out with capistrano, and backgroundrb, so I can easily use the ant tasks, but I would like to be able to start and stop backgroundrb from within rails. I have a few reasons for this: 1. Using fastcgi, backgroundrb would start under the apache user and the same mod_security context as apache, instead of my developer account which has many more privileges. 2.
2006 Jan 31
2
Setting a default order for a model?
Hi, I''m using a room model throughout my code. I keep doing the following: @rooms = Room.find(:all, :order => ''buildings.name, room_number'', :include => :building) I have to copy this into several of my controllers and I feel that I''m violating the DRY principle. Can I set this as the default order in my model? If so, how would I do that? Thanks,
2006 Jun 30
9
User engine problems with 1.1.4 + Test driven development??!
The following two posts (at the bottom) were posted to engine- users@lists.rails-engines.org and suggests further issues with 1.1.4 I''m forwarding it here for two reasons: 1. Just a heads-up that 1.1.4 breaks engines that are customised. login/user_engine are probably almost as widely deployed as Typo, and if you''ve done any controller-level customisation, 1.1.4 appears to