Displaying 20 results from an estimated 3000 matches similar to: "Non-Fatal Anonymous Module Error"
2006 Dec 29
2
Rails SQL Views 0.5.0 Released
Rails SQL Views 0.5.0 is now available from
http://rubyforge.org/frs/?group_id=2435&release_id=8685 and shortly as
a Gem (gem install rails_sql_views). More information on Rails SQL
Views can be found at
http://activewarehouse.rubyforge.org/rails_sql_views/
This release finally fixes the SchemaDumper issues, including the
necessary select statement for the view. It also introduces PostgreSQL
2008 Aug 28
2
Rails Migrations and database views
I have a DB2 schema with many ''views'' and table partitions defined in
it. As per our new project requirement we have to support multiple
databases (DB2,Oracle and MYSQL to be specific). The frontend
application is implemented using Ruby on Rails. I am interested in
exploring the possibility of using Rails Migrations to abstract out
the schema to a DB independent layer. I could
2006 Dec 20
0
ActiveWarehouse 0.1.0 Released along With Tutorial
ActiveWarehouse 0.1.0 is now available for use. I have posted a
tutorial at http://anthonyeden.com/2006/12/20/activewarehouse-example-with-rails-svn-logs
which demonstrates how to extract data from the Rails Subversion logs
and turn it into a simple drill down report. The ActiveWarehouse web
site is http://activewarehouse.rubyforge.org/
ActiveWarehouse is a plugin for Rails which provides
2007 Mar 08
0
AdapterExtensions 0.3.0 Released
As part of the ActiveWarehouse project we''ve broken out extensions to
the ActiveRecord adapters into its own subproject called
AdapterExtensions. This project is specifically for extensions to the
adapters themselves versus extensions to ActiveRecord::Base and its
related classes. If you have extensions at the adapter level and do
not yet have a permanent home for them then please feel
2006 Nov 29
4
Importing Database into Rails App database?
I''m working on an app that uses info from a government database. For a
variety of reasons (not the least of which is that their database is in
MS Access), I can''t simply write a wrapper around the legacy database.
Instead, we''re looking to have an "import" script in the Rails
environment (it''s fine if it''s run from the server and through the
2006 Mar 02
3
reloadable classes for other base classes than the built-ins
I''m working on the plugin for RBatis and a new little thing I''m toying
around with called ActiveMessaging (sorry, David I stole the name from
you from the TW AwayDay ;-)). Anyway, in both these applications I
want to be able to have reloadable classes that don''t extend any of
the standard built in ones.
So, I don''t mean to offend the Eminent Core Members by
2014 Feb 17
0
Need help -FATAL: database "catarse_development" does not exist
Hi
i try to run this
rake db:migrate
How i fix this
i get this
[root@localhost catarse]# rake db:migrate
/usr/local/rvm/gems/ruby-1.9.3-p484/gems/activesupport-4.0.2/lib/active_support/dependencies.rb:229:in
`block in require': iconv will be deprecated in the future, use
String#encode instead.
You no longer need to have jasmine.rake in your project, as
it is now automatically
2006 Nov 26
5
associations help?
I have Users who can "own" Projects. There is only one owner. Users in
general can be authorized to view certain projects. Here is my initial stab
at this:
class User < ActiveRecord::Base
has_many :projects # ownership
has_many :project_viewers, :dependent => :destroy
has_many :projects, :through => :project_viewers, :uniq => true
...
end
class
2012 Oct 18
0
unexpected return (LocalJumpError) only when executing this code within autoloaded classes?
Posted on stackoverflow but no traction yet:
http://stackoverflow.com/questions/12942505/why-does-using-set-trace-func-work-in-some-places-but-cause-unexpected-return-l
The following is a generified part of the code in a gem I''m working on:
module SomeModule
class << self
attr_accessor :procedure
def log_events(*args)
args.flatten!
2010 Apr 07
0
Need help with ActiveWarehouse-ETL-0.9.1 PG connection problem
I am trying to load conversion data into a postgresql database using
activewarehouse-etl. I can create a flat file output from the
conversion data without problem. However, when I try to load into the
table using the information contained in config/database.yml I see
this error:
/usr/lib64/ruby/gems/1.8/gems/activerecord-2.3.5/lib/active_record/
base.rb:1959:in `method_missing'':
2007 Dec 11
3
Fresh rspec on rails install blows up
Hi there,
I installed the rspec on rails plugin for a new project today and guess
what -- it blows up!
All by other rspec on rails projects are working fine.
I updated all gems & still no joy. Any ideas how I can troubleshoot this
one ?
Here''s my setup:
- ruby 1.8.4 (2005-12-24) [powerpc-darwin8.7.0]
- Rails 1.2.5
Installed with svn:
ruby script/plugin install
2013 Oct 08
6
Consuming a web service created with Rails, ETL vs Rest?
Hello, I need to consume a web service of an App called RedMine created
with Rails, in order to have a sort of "separate" interface (not the same
as the app) for one of the departments (that interact with the app) to
interact with it and generate some different reports based on the same data.
I don''t know much about either (ETL and Rest), all I know is that ETL seems
to
2010 Aug 17
6
Overly aggressive constant unloading of Rails 3.0
In Rails 3.0 (both RC and edge), any constant that''s defined while loading a
file in development mode will get unloaded on each request, regardless of
whether it comes from an autoload path in the application or from external
code such as a gem.
Example file (tested on a fresh edge app):
# kittens.rb
require ''nibbler/json'' # "nibbler" is a gem specified
2012 Feb 06
0
Error ActiveRecord::ConnectionNotEstablished
Hello, this morning I was trying to access my app on my computer, but,
when I initialize the server and access localhost:3000, this message
shows up:
ActiveRecord::ConnectionNotEstablished
So, I try to access via rails console, but again, another error:
felipe@Felipe:~/rails_projects/simple_cms$ rails console
2006 Sep 18
2
Datebocks and EdgeRails
Hello,
I am having trouble trying to use the Datebooks Engine with Edge Rails.
Has anybody try with it?
It seems that the problem has something with loading the layout, and
complaints about the number of arguments.
I will thank any help or guide.
Thank you very much.
=========================
I have copied the error I get
ArgumentError
wrong number of arguments (2 for 1)
RAILS_ROOT:
2011 May 27
3
unable to start server
When i start the server "rails s",following error message appears:
=> Booting WEBrick
=> Rails 3.0.7 application starting in development on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
Exiting
/usr/lib/ruby/gems/1.8/gems/actionpack-3.0.7/lib/action_dispatch/routing/mapper.rb:167:in
`default_controller_and_action'': missing :controller
2012 Jun 26
0
no such file load errors - md5
Dear All ,
I have a problem with : this error messasge " No Such File Load error -
md5 "
I can only use with development section.(rails s)
I can''t use with production . ( rails s -e production). I use this
command, the error message is like this
Exiting
/opt/local/lib/ruby1.9/gems/1.9.1/gems/activesupport-3.2.2/lib/active_support/dependencies.rb:317:in
`rescue in
2011 Nov 01
1
rake db:migrate aborted
I''m reading the rails tutorial book and in chapter 6 page 199 I have
to make a rake db:migrate, but I get this error:
rake aborted! undefined method `prerequisites'' for nil:NilClass
(See full trace by running task with --trace)
When I try with rake db:migrate --trace I get the following errors:
rake aborted!
undefined method `prerequisites'' for nil:NilClass
2011 Dec 07
1
Errors when running the local server
Hi all,
I''m running an application on my localhost, but the command "rails server"
behaves very inconsistently. About an hour ago it ran well on another app,
but got errors now.
According to the errors it seemed that the server began to run but the
there is something missing in the library. But I''m very new to Rails so
cannot figure out what do these lines mean:
2005 Dec 08
1
SwitchTower, Apache, and Routing Errors
Hello,
I deployed a Rails App using Switchtower and now I''m getting a Routing Error
to my Javascript and Stylesheet files.
Has anybody else had this issue?
Here is the log file.
> ActionController::RoutingError (Recognition failed for
> "/javascripts/prototype.js"):
> /vendor/rails/actionpack/lib/action_controller/routing.rb:470:in
>