Displaying 20 results from an estimated 90000 matches similar to: "active_support and class_inheritables"
2006 May 27
2
NameError / active_support/dependencies
hi everyone
in my dev machine, everything works flawlessly
now when i uploaded my website on the server, it cannot acces User model
anymore. all other pages work by the way.
when i try to access User on console or by web, it shows:
NameError in UsersController#signup
uninitialized constant User
/usr/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:100:in
2011 Apr 18
3
ActiveSupport 3.0.6: require 'active_support/core_ext' generates "circular require" warning
Hello,
i noticed some strange warnings when doing
require ''active_support/core_ext''
with activesupport 3.0.6.
If i do
gem ''activesupport'', ''=3.0.5''
require ''active_support/core_ext''
then it works fine.
Is this a bug in rails 3.0.6?
More precisely, if i do
$ irb -w
> require
2006 Jan 25
6
cant convert integer to string
I''ve experimented around and have ran out of ideas, here''s the message:
TypeError in True_false_questions#list
can''t convert String into Integer
RAILS_ROOT: script/../config/..
Application Trace <http://zbyte32:3000/true_false_questions/list/0#> |
Framework
Trace <http://zbyte32:3000/true_false_questions/list/0#> | Full
2006 Mar 01
3
Strange Error
Hi!
I''m reading the ''Agile Web Development with Rails'' book and I tried to
write the depot application. But almost at the beginning everything
goes wrong and my application doesn''t work. When I try to open
http://localhost:3000/admin with my Firefox, a blank site comes up. This
is the first mistake. And then the window of my WEBrick shows some
strange
2006 Jan 29
6
Depot example problem on Slackware
Hello.
I''m new to RoR. I run RoR on my Slackware. I follow the depot example
and have a problem when run the script:
root@localhost:~/work/depot# ruby script/generate scaffold Admin Product
/usr/lib/ruby/1.8/yaml.rb:133:in `load'': syntax error on line 5, col 2:
` socket:/var/run/mysql/mysql.sock'' (ArgumentError)
from /usr/lib/ruby/1.8/yaml.rb:133:in
2006 Jan 30
9
error when adding a new table to the existing application
Deniz wrote:
> Hi Everybody,
> I am a newbie in this list so please forgive me if this is a lengthy
> message.
> Currently I am working on a project at my work place that includes
> viewing some oracle tables(I do not have control over to rewrite the
> tables) and searching the tables based on a given criteria with Rails.
> Up untill now everything was working great. The
2009 Jun 04
1
wrong number of arguments (1 for 0)
Hi,
I hope someone can help me because this is driving me crazy, I''ve
spent hours trying to track this down. I''m trying to convert a Rails
1.1 to Rails 2.3.2 and I''m getting the following error when trying to
save a many to many relationship. I''ve double checked all the
associations, I''ve used console to test my models and they all work
ok, I can do
2007 Jan 19
9
werid error, please help
Hi all,
I updated to Rails 1.2.1. However, when I tried to access the URL
http://localhost:3000/
i get this Application Error
Change this error message for exceptions thrown outside of an action
(like in Dispatcher setups or broken Ruby code) in public/500.html
I removed the default index.html and route it to Account controller.
If you read the log below, it seems that the AccountController is
2006 Apr 07
4
What to install for Rails development?
Hi, is there a list which helps new people as existing people to RoR
in regards to what to install and when to install it? I''m just
looking for a list must have components because I''m really lost at
this point with all the announcements. Finally, my hosting company is
currentlyhas the following version of rails installed:
rails 0.13.1 [rdoc] [www] - depends on actionmailer,
2006 May 06
4
rake doc:rails fails
Hi there,
Running doc:rails and doc:rerails on a fresh rails directory after
running ''rake freeze_gems'' fail with the following error:
> Don''t know how to build task ''vendor/rails/activesupport/README''
Should it work? That file doesn''t seem to exist.
If that''s not the sequence for generating the api documentation, what
2008 Jan 16
0
[CruiseControl] RubyOnRails build 8649 failed
The build failed.
CHANGES
-------
Revision 8649 committed by gbuesing on 2008-01-16 20:07:10
Introducing DateTime #utc, #utc? and #utc_offset, for duck-typing compatibility with Time. Closes #10002
M /trunk/activesupport/CHANGELOG
M /trunk/activesupport/lib/active_support/core_ext/date_time/calculations.rb
M /trunk/activesupport/test/core_ext/date_time_ext_test.rb
TEST FAILURES AND
2010 Oct 20
7
How can I render a template outside of a controller in Rails 3?
Hi All,
I can''t seem to render a template outside of a controller in my Rails 3
application. The googling I''ve done has been helpful, and I eventually found
some useful info at
http://www.swombat.com/rails-rendering-templates-outside-of-a-contro.
However, this seems to be broken in Rails 3. Does anyone have any ideas how
I can fix this method or perhaps know of a better
2010 Aug 26
2
Today: constant JSON::Parser not defined
(Using the latest 3-0-stable and rvm, and ruby-1.9.2-p0)
Yesterday everything worked, my own changes are very minor and in the
application only. Did anything change that could have caused this
problem? Unfortunately simply going back in rails alone to the
original "RC2" git-tag did not immediately help, so it may be some
other problem (on my own system only, even if I''m
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
2005 Jul 07
3
NameError Exception
Ruby/Rails n00b here so go easy on me...
I''ve been wracking my brain trying to figure out what is wrong here.
I''ve checked all my models for the appropriate belongs_to, has_many,
etc. I''ve checked to make sure I''m using singular and plurals in the
right spot. I''ve checked my syntax around all my "within"''s and nothing
seems to fix
2006 May 26
2
Rails app fails to start with LoginGenerator
Hi guys
I was following this: <a
href="http://wiki.rubyonrails.com/rails/pages/LoginGenerator">tutorial</a>
and everything was perfect until I run the script.
I''ve got:
<strong>MissingSourceFile</strong><br />
no such file to load -- user.rb <br />
RAILS_ROOT: script/../config/.. <br />
<pre><code>
2010 May 31
0
no such file to load -- /home/path/to/app/config/environment
I looked at the permissions, it is set to username:group - the same
settings which work for another app.
Btw, this is running Rails 2.1.something (Its a friends website
deployed a while back, just helping him out.) Thanks
Full stack msg:
no such file to load -- /home/path/to/app/config/environment
/usr/local/lib/site_ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require''
2009 Apr 15
0
hpricot bug?
I get an error in the hpricot-gem on Windows XP sp3. I have tested
different versions of it and combined them with different versions of
sequel (including the latest of both).
The error triggers on the line when I do: require ’hpricot’.
The line that causes the error in the hpricot-gem in the file
elements.rb (line 395) looks like this:
nth = proc { |num,i| self.position == num.to_i }
What is
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require
2011 Jul 22
2
ActiveSupport not including i18n?
Went to use ActiveSupport in a gem today and got an error on account of not
having i18n installed. Either bundler should be installing i18n along with
activesupport or docs need to be updated.
quick repro: https://github.com/softwaregravy/repro_active_support_i18n
bundle exec irb
require ''active_support/all''
detailed steps and error:
1) add to Gemfile
require