similar to: Optimizing ActiveSupport with native code

Displaying 20 results from an estimated 8000 matches similar to: "Optimizing ActiveSupport with native code"

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
2008 Dec 17
9
Rails 2.2.2 and globalize - undefined method `render_file' for class `ActionView::Base' (NameError)
Looks like globalize (1.2) is not compatible with rails 2.2.2. I am getting: '' => Booting Mongrel (use ''script/server webrick'' to force WEBrick) => Rails 2.2.2 application starting on http://0.0.0.0:3003 => Call with -d to detach => Ctrl-C to shutdown server ** Starting Mongrel listening at 0.0.0.0:3003 ** Starting Rails with development environment...
2005 Apr 06
3
NameError in <controller not set>#<action not set>
I can''t figure out why I''m getting the following error. There''s nothing wrong in my communities_controller file. And the helper for communties exists. Any ideas? Thanks, Joe NameError in <controller not set>#<action not set> uninitialized constant CommunitiesHelper app/controllers/communities_controller.rb:1 script/server:48 Show framework trace
2010 Mar 18
3
rake db:migrate -> uninitialized constant
Hi-- I''m trying to do a first migration (2.3.5). I generated a model "Video", but when I try to migrate I get "uninitialized constant Videos". Why is it trying to find a plural class name? Here''s more complete output: trans@logisys:models$ rake db:migrate --trace ** Invoke db:migrate (first_time) ** Invoke environment (first_time) ** Execute environment **
2006 Jul 22
1
How to debug this
Hello,I get this message and I don''t know how to interprete this.I think it has to do with plural tables and singular referencesThanks for any help!Jim======================================================================================uninitialized constant SubjectRAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jul 26
1
Scaffolding Problems
Hi.. Im a brand new ruby on rails developer, and when i make a scaffold and navigate to the it, i get an error that looks like this. ----------------------------------------------------------------- NameError in PagesController#list uninitialized constant Page RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace
2006 Jan 09
1
Cooky Cookies
Hi All, I have a problem with the stemming(?) in rails. I have a table cookie and a Cookie model which I have generated a scaffold for. The problem is that rails starts looking for a file that it calls "cooky.rb", this must be some kind of misunderstanding between me and rails, but how do I correct it? Other scaffolds work just fine. /Hugo NameError in Cookie#index uninitialized
2006 Jan 10
1
Cooky cookies causes trouble
Hi All, Yesterday wrote about my troubles with naming a table and model cookies and cookie respectively. I know that everybody hates the newbie screaming bug as soon as he encounters behaviour he doesn''t understand. But I''ve reproduced the error in the simplest application possible, and dare therefore say that this quite possible could be a bug in Rails. Database: CREATE TABLE
2005 Dec 21
1
Table called applications - causes stack overflow?
Having worked through Four Days on Rails and the book Agile Web Development with Rails I decided it was time to start a live project. I have an existing application with MySQL database, so I modified the schema to use Rails standard column names. The main table was named ''applications''. ruby script/generate scaffold Application Admin results a stack overflow
2006 Jun 14
5
uninitialized constant error after scaffold on new Windows XP environment
I am attempting to get a working Rails programming environment setup working under XP with MySQL, RadRails and Webrick. I have been using my PowerBook but need to working on Windows environment too. I have basic functions of Ruby and Rails going. I created a really simple table and generated the scaffolding. The server starts just fine. I can browse the database succesfully in RadRails. The issue
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
2009 Jun 24
3
I18N: allocator undefined for Proc
Hello all, I''m trying to translate my application using the I18N feature and it was working fine until I added a couple of new entries to the en.yml files. Now in every action in my application I always get the following error: TypeError in Account#login Showing app/views/account/login.rhtml where line #2 raised: allocator undefined for Proc Extracted source (around line #2): 1: 2:
2008 Sep 20
2
NameError: uninitialized constant Inflector
I follwed the example here: http://dekstop.de/weblog/2005/12/rails_inflector_in_ruby_scripts/ #!/usr/bin/ruby require ''rubygems'' require ''active_support/inflector'' puts Inflector.singularize(''inflections'') I loaded it into irb and wrote a killer script both of which worked perfectly for weeks. Now when I try and run the script or run
2010 May 10
6
feedback on a few ActiveSupport::Multibyte patches
Hi all, In response to Rodrigo Rosas''s message about mb_chars.upcase not giving the expected result on 1.9, I''ve done some work in a fork to make String#mb_chars always return an instance of a proxy class, both with Ruby 1.8 and Ruby 1.9. The end result of the patch is (hopefully) to make Rails'' multibyte functionality behave the same way in 1.8.7 and 1.9.x.
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
2011 Mar 16
19
Uninitialized constant Files::Magick -still around
Hi there, I''m solving the problem about the plugin Magick. In my app in Gemfile I''ve follwoing: require ''rubygems'' require ''mongo'' require ''RMagick'' include Magick and in a model Files: class Files def self.save(upload) ... img = Magick::Image.read(''public/data/nature6.jpg'').first end end
2006 Jun 13
6
tax a reserved word?
Is tax a reserved word or am I sleep deprived?? I''m working on a shopping cart and have a table called sales_taxes (at first i named it taxes). I get the following error when i load the controller: uninitialized constant SalesTaxis RAILS_ROOT: script/../config/.. Application Trace | Framework Trace | Full Trace
2011 Nov 03
4
JSON problem while installing rails
Hello all. I try to install ruby on rails and I am litle stuck now because of following error: http://pastebin.com/BmFyuRs6 Can someone help me? I using Windows 7 Ultimate, Ruby 1.9.2-p180 and RubyGems 1.8.11. What I did before run: gem install rails? 1. installing ruby through ruby installer 2. C:\Users\h4cky\Downloads\rubygems-1.8.10>ruby setup.rb 3.
2010 Jun 21
4
Failing Routes in deployment
I have an app that has the following in the routes file: namespace "admin" do # ADMINISTRATIVE ROUTES ONLY root :to => ''home#index'' resources :comments do member do get :approve get :reject end end resources :users do member do get :block get :unblock end end end When browing to