similar to: Engines issue: rake test_plugins failing when it shouldn''t

Displaying 20 results from an estimated 200 matches similar to: "Engines issue: rake test_plugins failing when it shouldn''t"

2011 Jul 25
3
Rails 3.1 Engines: Full vs. Mountable
Hi all, I was hoping someone could please clarify the differences between a full engine and a mountable one. I have noticed the following: ** Full Engine ** - With a full engine, the parent application inherits the routes from the engine. It is not necessary to specify anything in parent_app/ config/routes.rb. Specifying the gem in Gemfile is enough. The engine routes are specified as: #
2006 Apr 10
1
LoginEngine 1.0.1
Hi, The LoginEngine has been updated to 1.0.1. Notable changes: * User model now does very basic email validation * All tests now pass on both Rails 1.0 and 1.1 * Many bugs fixed! Please refer to the Engines documentation for how to update. http://www.rails-engines.org/download The subversion URL for the tag is: http://svn.rails-engines.org/login_engine/tags/rel_1.0.1 = v1.0.1 * Added
2011 Jun 04
1
rails 3 engine under dynamic scope
hello, i have a rails 3 engine scoped dynamically like this: scope "/:locale" do mount MyEngine::Engine => '''', :as => ''my_engine'' end I can''t seem to be able to set my own locale like this: my_engine.page_path(page, :locale => ''de'') the path is generated like this: /en/page/12345?locale=de instead of
2006 Mar 10
19
validates_date plugin for ActiveRecord
This plugin gives ActiveRecord the ability to do stricter date checking. Example: class Person < ActiveRecord::Base validates_date :date_of_birth end This will ensure that date_of_birth is a *valid* date. The date can be set initially as a string in any of the following formats: "2006-01-01" "1 Jan 06", or "1 Jan 2006" "1/1/06" # Day /
2006 Jun 11
2
Problem with Acts_As_Attachment
Hi, I have installed the acts_as_authenticated plugin from technoweenie, but when I run the tests I get an error (running windoze) -- create_table(:attachments, {:force=>true}) c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:21:in `require__'': no such file to load -- sqlite (MissingSourceFile) I found the require statement in test/abstract_unit.rb
2005 Dec 27
4
acts_as_versioned
Hi, I'm integrating acts_as_versioned (ar-versioned.rubyforge.org) in my customized CMS rails application to set up revision control for pages. Getting and viewing versions works allright, but when I try to revert to a version in the following way, nothing happens to the actual data in the object. Link from page: <%= link_to image_tag('revert'), :action => 'do_revert',
2006 Jan 07
2
app no longer runs - MissingSourceFile for any controller
Hello all. I somehow managed to break my rails app running under Apache 2 with fcgi. With any action I try, it throws an exception saying it can''t find the source file. For instance, requesting an action in my welcome_controller results in: MissingSourceFile in <controller not set>#<action not set> No such file to load -- app/controllers/welcome_controller.rb The log
2007 Sep 07
1
Rails + require returns ??
All, I have a rails controller that is requiring a ruby file ie res = require ''blee'' p res.inspect # <= [] ?? class FredController < ApplicationController .... end Printing the return value of the require, I was expecting to see true or false whether the required ruby file was previously loaded or not. Instead it seems to always return an
2006 Jan 11
14
User Engine/General Engine issues
I''m trying to get the login/user engine combo up and working and am having difficulties. I got the login engine up and running fine, no problems. Now, on to the user engine. After fixing the needed stuff in the bootstrap task so it loads I''m able to login as the default admin ok. BUT none of the views/controllers that are in login/user_controller are being overridden by the
2006 Apr 16
1
plugins problems with RoR 1.1 in production
Hi, I''m looking to upgrade an application based on rails 1.0, and I have a problem with plugins working fine in development, but not in production or test. Actually, it happens in all environments with their dependency mechanism set to :load. For example for the selenium on rails plugin, it needs the class SeleniumOnRailsConfig, which triggers the dependency on
2006 Apr 22
5
selenium plugin not working with rails 1.1
Hi, I really like selenium, and I just tried the plugin created Jonas Bengtsson. However I cannot get it to run on rails 1.1 and coundn''t find anyone complaining about it? Did anyone get it to run on rails 1.1.2? Greets, Abdur-Rahman
2006 Feb 05
0
[GLOBALIZE] Trouble getting example on wiki working
Hi, I decided to integrate globalize into my app yesterday but I''ve run into trouble. I originally decided to try a db translation on one of my models so I followed the wiki example and modified where appropriate. When I tried to create an empty Album via the console I get the following error: http://www.rafb.net/paste/results/opZ13I27.html I tried to investigate and from what I
2006 Jan 04
0
Plugins unit testing
Hi, I am refactoring a utility class from my application in a plugin and I am trying to get the unit tests to pass. (they were going pretty fine before I moved things into a plugin) I did find the ''rake test_plugins'' command, which seems to trigger my unit tests, however the load path does not seem to include my plugin''s directories, so all my previously valid require
2006 Sep 08
4
Does acts_as_attachment :storage => :db_system work?
I found the post about needing to install acts_as_attachement_1_1_6 if you are not on edge rails. But I am having trouble getting db_system storage to work. As far as I can tell in from the database, things are working, but I don''t see how my model table hooks up with the db_files table so I am having trouble altering the image_tag from the tutorial
2006 Aug 11
2
Shouldn''t CRUD be CRUDS?
With most models, almost always I find myself writing Search/Find actions. When I view a Listing of a model, I want to look at another record or set of records. How nice it would be if I can do a query-by-example while viewing a Listing, or during Show/Edit/Create. Would be nice if Search becomes another act in the scaffolding magic. This wish has been expressed here before. Since then, has
2007 Apr 11
0
Fwd: [ mocha-Bugs-6416 ] Mock objects shouldn''t define #to_s
---------- Forwarded message ---------- From: noreply at rubyforge.org <noreply at rubyforge.org> Date: 11-Apr-2007 15:07 Subject: [ mocha-Bugs-6416 ] Mock objects shouldn''t define #to_s To: noreply at rubyforge.org Bugs item #6416, was opened at 2006-10-31 15:34 You can respond by visiting: http://rubyforge.org/tracker/?func=detail&atid=7477&aid=6416&group_id=1917
2005 Jul 11
0
Shouldn''t use autocomplete for absolute-positioned elements?
I''d like to tap in to the expertise here on this list. The autocompletion box at raildock.mytechsupport.com is a bit of a hack right now--the drop-down box is quite a ways off from where it should be, and it would be even further off if I hadn''t hacked controls.js to subtract a few pixels from its location on screen. Is there some guidelines for where and how to place a
2008 Mar 17
1
Shouldn''t should return true?
''cause it doesn''t... This is an issue for nested custom matchers, ie: module CRFT class RFT def initialize(args) blah end def matches?(target) "Yeah, baby!" end end def r_f_t(args) RFT.new(args) end end module CRLT class RLT include CRFT def initialize(args) blag end def matches?(target)
2006 Feb 16
0
Shouldn''t mailers be controllers?
Anybody else think that mailers are more like controllers than models? After all, they even have associated views. And they''re not associated with any data (like a database table). Furthermore, if they were controllers, you could use url_for in their templates! Joe -- Posted via http://www.ruby-forum.com/.
2005 Dec 14
0
One of my attributes is nil, but it shouldn''t be
This is driving me crazy. When I create a new object in console, the attribute is not nil. When I create a new object in my unit test, the attribute is nil. What gives? baggio:~/work/mesafire pergesu$ ./script/console Loading development environment. >> e = Event.new => #<Event:0x234a514 @attributes={"name"=>nil, "timexstring"=>"",