search for: dependencies_extensions

Displaying 12 results from an estimated 12 matches for "dependencies_extensions".

2006 Feb 26
6
Having trouble getting Edge Rails running
...ib/active_support/dependencies.rb:87:in `as_load_path'': stack level too deep (SystemStackError) from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:106:in `const_missing'' from ./script/../config/../vendor/plugins/engines/lib/dependencies_extensions.rb:28:in `require_or_load'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:30:in `depend_on'' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:74:in `require_dependency''...
2006 Mar 29
0
Intermittent error - undefined method ''destroy_without_callbacks''
...ib/active_support/dependencies.rb:129:in `load'' /vendor/rails/activesupport/lib/active_support/dependencies.rb:129:in `load'' /vendor/rails/activesupport/lib/active_support/dependencies.rb:56:in `rails_pre_engines_require_or_load'' /vendor/plugins/engines/lib/engines/dependencies_extensions.rb:52:in `rails_1_1_require_or_load'' /vendor/plugins/engines/lib/engines/dependencies_extensions.rb:21:in `rails_edge_require_or_load'' /vendor/plugins/engines/lib/engines/dependencies_extensions.rb:10:in `require_or_load'' /vendor/rails/activesupport/lib/active_su...
2006 Apr 30
1
no such file to load -- net/https
...-1.0.1/lib/payment.rb:29 /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:140:in `load'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:56:in `rails_pre_engines_require_or_load'' vendor/plugins/engines/lib/engines/dependencies_extensions.rb:52:in `rails_1_1_require_or_load'' vendor/plugins/engines/lib/engines/dependencies_extensions.rb:13:in `require_or_load'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:30:in `depend_on'' /usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/...
2006 Mar 28
8
Correct way to capture a select param
I''m having trouble capturing the params from a select type form. For text field like this: <%= text_field_tag :courseid %> I''m able to capture the posted value with this params[:courseid] However with a select field like this: <%= select(:course, :id, %w{value1 value2 value3} %> I''m not sure how to capture the posted value. -- Posted via
2006 Mar 12
2
engines in edge
Hi, Engines is not working correctly for me with edge. I get: vendor/plugins/engines/lib/dependencies_extensions.rb:28:in `require_or_load'':NoMethodError: undefined method `log'' for Engines:Module I tried playing with Engines.create_logger at the end of config/environment.rb, but without success. ANy ideas ? PS: the Mailing List pages on rails-engines.org is empty :/ -- Jean-Christophe Mi...
2006 Mar 22
1
Engine Trouble With Edge
...n activesupport/lib/active_support/dependencies.rb ie. RootLoadingModule < LoadingModule < Module My problem is that there is no RootLoadingModule class or LoadingModule class in Edge Rails now, and it seems that the Engines plugin depends on those classes being there. plugins/engines/lib/dependencies_extensions.rb - line #72 class RootLoadingModule < LoadingModule # hack to allow adding to the load paths within the Rails Dependencies mechanism. # this allows Engine classes to be unloaded and loaded along with standard # Rails application classes. def add_path(path) @load_paths &...
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
2006 Mar 21
2
r3981 causes SystemStackError
...from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:102:in `rake_original_const_missing' from C:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake.rb:1761:in `const_missing' from ./script/../config/../vendor/plugins/engines/lib/engines/dependencies_extensions.rb:35:in `require_or_load' from ./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:30:in `depend_on' ... 798 levels... from ./script/../config/../vendor/rails/railties/lib/commands/server.rb:34 from C:/ruby/lib/ruby/site_ruby...
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
...e/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:207:in `load'' /usr/sunkay12/cshome/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:207:in `load'' #{RAILS_ROOT}/vendor/plugins/engines/lib/dependencies_extensions.rb:54:in `require_or_load'' /usr/sunkay12/cshome/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:22:in `depend_on'' /usr/sunkay12/cshome/luca/usr-x86_64/lib/ruby/gems/1.8/gems/activesupport-1.2.3/lib/active_support/dependencies.rb:178:...
2005 Dec 02
8
UserEngine: stack level too deep
...s/user.rb:29 #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:237:in `load'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:237:in `load'' #{RAILS_ROOT}/vendor/plugins/engines/lib/dependencies_extensions.rb:45:in `require_or_load'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:30:in `depend_on'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/../../activesupport/lib/active_support/dependencies.rb:36:in `associate_with'' #{R...
2005 Dec 22
11
rforum engine
...am informed of "uninitialized constant RForumApplicationController. This problem goes away when I put a load ''rforum_application.rb'' at the top of each controller. A ''require'' doesn''t do the job. My question: why? I brooded over $ENGINES/lib/dependencies_extensions.rb, but couldnt see the answer. 2) In my app''s init_engine.rb I have to put require ''common_model_behaviors'' # 1 require RAILS_ROOT + ''/config/app.rb'' # 2 When I leave out line 1, I get errors such as "uninitialized constant ErrorRaising"...
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