Displaying 20 results from an estimated 700 matches similar to: "Two ActiveSupport Tests Failing with Update Today"
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 Nov 05
1
Non-Fatal Anonymous Module Error
I am receiving the following non-fatal error from Rails for a particular
action:
Error calling Dispatcher.dispatch #<ArgumentError: Anonymous modules have no
name to be referenced by>
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:313:in
`to_constant_name''
./script/../config/../vendor/rails/activesupport/lib/active_support/dependencies.rb:270:in
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"
2023 Mar 07
2
Bug#1032480: xen: Important cherry-picks for bookworm/updates
Package: src:xen
Version: 4.17.0+46-gaaf74a532c-1
Severity: important
Two major bugs have shown with the release of new hardware from AMD.
Since the new hardware is likely to become common during the life of
Debian/bookworm, you may wish to grab them early:
ad15a0a8ca2515d8ac58edfc0bc1d3719219cb77
x86/time: prevent overflow with high frequency TSCs
Turns out the latest generation is fast enough
2020 Jul 18
25
[PATCH 00/12] Bunch of patches for cross-compilatio + RP4
Initially out there as #965245.
I strongly prefer to build ARM64 packages on non-ARM systems. Something
about my main build machine having twice the cores and twice the clock
speed. As such after many builds I've managed to generate a set of
patches which appear to mostly function to get functioning cross-builds
of Xen.
These are NOT a 100% solution. Some packaging hacks were needed. In
2007 Jan 08
2
ActiveSupport Dependency
Hi, Just wondering if ActiveSupport is actually used heavily by
Camping when ActiveRecord is not used? I see ActiveSupport is a
dependency of ActiveRecord, but Camping still wants it even when
ActiveRecord isn''t used.
2006 Jul 30
0
Rails installation problem - activesupport
I am trying to install Ruby on Rails on my G5 PowerPC, I followed <a
href="http://hivelogic.com/articles/2005/12/01/ruby_rails_lighttpd_mysql_tiger">these</a>
instructions. Everything seems to be working fine until i try to install
Rails with Rubygems, then I get the following error-message:
<blockquote>Install required dependency activesupport? [Yn] y
ERROR:
2006 Apr 10
0
Plugins & ActiveSupport::CoreExtensions
Is it possible to add to ActiveSupport''s CoreExtension module via a
plugin? The only way I''ve been able to do this is to add my extensions
to a library stored in the lib folder.
Thanks.
--
DeLynn Berry
delynn@gmail.com
http://www.delynnberry.com
2006 Mar 31
0
can activesupport gem be used in "standalone" fashion?
i''m using ruby 1.8.2, rubygem 0.8.10, rails 1.0.0 where activesupport version = 1.2.5
when i try to run this in RADRail, i get a NoMethodError:
require ''rubygems''
require_gem "activesupport"
print Time.now + 2.days
the error message is: c:/e312workspace/first/test3.rb:5: undefined method `days'' for 2:Fixnum (NoMethodError)
is there a way to use
2009 Apr 15
1
uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
I''m on debian etch w/ ruby1.8, activesupport-2.3.2, getting this on the
first line of code which is require ''active_support'' :
/var/lib/gems/1.8/gems/activesupport-2.3.2/lib/active_support/dependencies.rb:55:
uninitialized constant ActiveSupport::Dependencies::Mutex (NameError)
from /usr/lib/ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
2012 Oct 25
0
[Rails 3.2.8] ActiveSupport::BufferedLogger extension, undefined_method
I tried to extend it , with this class , loaded at config time :
config.autoload_paths += Dir["#{config.root}/lib",
"#{config.root}/lib/**/", "#{config.root}/app/inputs"]
lib/extension.rb
class ActiveSupport::BufferedLogger
def detailed_error(e)
error(e.message)
e.backtrace.each{|line| error line }
end
end
but calling it in my controller
rescue
2011 Sep 20
0
What's the difference between mattr_accessor and cattr_accessor in ActiveSupport?
Hi,
I was reading source code of mattr_accessor and cattr_accessor in
ActiveSupport and found out that the method definitions are all most
identical. Except cattr_writer accepts a optional block.
I googled and read
http://stackoverflow.com/questions/2203800/difference-between-mattr-accessor-and-cattr-accessor-in-activesupport.
That guy had the same question as me, but no one answered the question
2011 Mar 28
0
undefined method "load_paths" for ActiveSupport::Dependencies:Module Error
I''m writing a Rails plugin from scratch and recently generating models
inside it.
In fact, i''m trying to follow the guide from http://guides.rubyonrails.org/plugins.html
so i used the following code taken from this site in order to make the
models appear like files in the main app directory (as it was said)
this is the code:
%w{ models }.each do |dir|
path =
2010 Jun 25
0
[PATCH] ActiveSupport::OrderedHash#update Does Not Set Keys
Hi all,
On versions of Ruby prior to 1.9, using update on an
ActiveSupport::OrderedHash will not set the keys correctly. This means
that it is not possible to iterate over the hash using each or get the
array of keys.
For example:
hash = ActiveSupport::OrderedHash.new
hash.update(:name => "Bob")
# => #<OrderedHash {:name=>"Bob"}>
hash.keys
2010 Mar 14
0
[patch] activesupport/core_ext/class cattr_reader/mattr_reader
Details/patch are in this lighthous ticket:
https://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/4172-inconsistency-with-cattr_readermattr_reader
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group.
To post to this group, send email to rubyonrails-core@googlegroups.com.
To unsubscribe from this group, send email to
2006 Oct 23
0
Using ActiveSupport::JSON in PrototypeHelper, ScriptaculousHelper
Hi all,
I was looking at this ticket:
http://dev.rubyonrails.org/ticket/6265
and it got me thinking: is there any reason we''re not using the tasty
ActiveSupport::JSON encoder to assemble options for the various helper
methods in PrototypeHelper and ScriptaculousHelper?
At the moment, they use options_for_javascript() in JavaScriptHelper,
which is a half-hearted JSON generator that
2011 May 31
0
How do you test a module that extends ActiveSupport::Concern?
I have a module that extends ActiveSupport::Concern. Here is the
`included` block:
included do
after_save :save_tags
has_many :taggings, :as => :taggable
has_many :tags, :through => :taggings
end
How can I stub out these calls? I have tried a few ways, but Ruby
complains that these methods don''t exist when I try and test the
module in isolation.
Thanks!
2008 Jul 23
1
how to get day name using ActiveSupport libraries
Is there any way to get the name of the day (i.e. mon, tue...) using
the ActiveSupport libraries. I looked through these two libraries but
can''t seem to find it:
http://api.rubyonrails.com/classes/ActiveSupport/CoreExtensions/Numeric/Time.html#M000421
http://api.rubyonrails.org/classes/ActiveSupport/CoreExtensions/Time/Calculations.html#M000308
2008 Feb 27
0
Activesupport error on start - extract_options
I''m trying to get Rails up and running on a new port of Ruby to
Arm/WinCE devices that I''ve been working on, built using CEGCC tools for
''mostly'' Posix compatability, rather than using the existing Ruby WinCE
binaries.
Ruby runs and is installed under \ruby in root of the device itself.
I''ve edited the following files of a default Rails 2.0.2 *zip*