Displaying 20 results from an estimated 6000 matches similar to: "undefined method `camelize' for "app":String"
2008 Jun 26
1
Undefined method: camelize
Hi,
I am fairly new at Rails, and attempting to deploy an application
that''s running fine using InstantRails on my PC. On the deployment
server (I use railsplayground.net), I get the following error:
Processing ApplicationController#index (for 220.224.229.156 at
2008-06-25 18:49:34) [GET]
Session ID: 5921e7d789ee3aaa214f2d59aa40986a
Parameters: {"action"=>:index,
2009 Aug 31
3
NameError: undefined local variable or method `testapp' for main:Object
Hi,
I am new to Ruby on Rails. Recently, I downloaded and installed the
InstantRails in the D:\ drive of my system. Now I wanted to try some
small examples in ''irb'', so I created a file "testapp.rb" and in that
pasted a code like this:
========================
class sample_class
def sample_method
puts "sample program"
end
2009 Aug 13
0
[ wxruby-Bugs-26918 ] ruby1.9 gem: wxruby2.so: [BUG] unknown type 0x22 (0xc given)
Bugs item #26918, was opened at 2009-08-14 00:13
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=26918&group_id=35
Category: Installer problems
Group: current
Status: Open
Resolution: None
Priority: 3
Submitted By: lasse fabisch (lassef)
Assigned to: Nobody (None)
Summary: ruby1.9 gem: wxruby2.so: [BUG] unknown type 0x22 (0xc given)
Initial
2005 Mar 16
1
Is there an opposite of Inflector.Camelize
Or to put it another way, is there a function f, such that
Inflector.f(Inflector.Camelize(x)) = x
?
Enquiring minds need to know.
Adelle.
2006 Nov 24
0
Strange "camelize" error when running fresh rails install on Hoary
Hi everyone,
Just wondering if anyone had seen this before. I did a simple install
following Paul Goscicki''s tutorial
(http://paulgoscicki.com/archives/2005/09/ruby-on-rails-on-ubuntu/) and
I get this message when I type "rails test" from the command line.(I''m
running Ubuntu 5.04 Hoary)
could anyone point me in the right direction? thanks.
--max
2009 Oct 28
6
undefined method `^' for "e":String
I''m attempting to learn Ruby on Rails, but these errors aren''t helping.
I''m currently trying to follow the lessons available on
www.learningrails.com. I received this error after trying to visit a
page generated by using the scaffold command. Actually, this is all I
did up until the error:
rails sample2 -d mysql
mysqladmin -u root -p create sample2_development
ruby
2010 Feb 25
0
Ruby on Rails application could not be started
Hi,
Hi,
I''m upt o install retrospectiva on my centOS 5 machine. Therefore, i
installed ruby 1.9.1 (ruby 1.9.1p376 (2009-12-07 revision 26041)
[x86_64-linux]) and following gems:
*** LOCAL GEMS ***
actionmailer (2.3.5)
actionpack (2.3.5)
activerecord (2.3.5)
activeresource (2.3.5)
activesupport (2.3.5)
fastthread (1.0.7)
mysql (2.8.1)
passenger (2.2.10)
rack (1.0.1)
rails (2.3.5)
rake
2010 Apr 28
1
Trying to get Rails working with Sybase ASE
Hi
I''m trying to use the activerecord-sybase-adapter to be able to use ASE with
my rails applications.
But, I am struggling...
I followed (most of) the steps on this informative page:
http://trevoke.net/blog/2009/09/11/connecting-to-sybase-with-rails-on-windows-xp/
Initially I had Rails 2.3.5 installed.
I copied the "Ruby Sybase files" as instructed and the Sybase dll files
2006 Dec 16
5
trying to add another app
hey all,
I have an app working great with apache2 and mongrel_cluster.
However, I''m trying to run another application and now when I go to
app1.comit falls to
app2.com and the opposite. That''s probably because I messed up somewhere
with the cluster.
this is the content of my conf.d/app1.proxy_cluster.conf:
<Proxy balancer://mongrel_cluster>
BalancerMember
2010 Feb 04
3
Rails Edge: gem bundle error
Hi.
Having installed Ruby 1.9 from source, I decided to have a look at
Rails3 aka Rails edge from git. Therefore, I followed wycats
instructions (http://weblog.rubyonrails.org/2010/1/1/getting-a-new-app-
running-on-edge), but keep getting an error related to Bundler:
$ sudo gem bundle --backtrace
ERROR: While executing gem ... (NoMethodError)
undefined method `path'' for
2009 Sep 10
1
App freezes on wxruby-19-2.0.1 on Windows, fine on Mac
With wxRuby-ruby19- v2.0.1, my app works well on Mac. But on Windows,
it freezes after typing up to a dozen of characters in a
StyledTextControl, mouse operations are fine. Once freezing, Ctrl+C
couldn''t end the process.
My env:
Windows XP
ruby 1.9.1p243 (2009-07-16 revision 24175) [i386-mingw32]
It might be specific to my application (no issues on Ruby 1.8 with
wxRuby 2.0.0
2007 Feb 20
1
"Text is not a module"
Hello all,
After upgrading to Rails 1.2.2, I''m getting a strange error when one of my
workers is invoked. The worker is responsible for monitoring a folder
(using directory_watcher) and emailing a specific user when a file is
dropped there, but it''s bombing immediately upon instantiation (or maybe
when trying to instantiate ActionMailer?) with the error "Text is not a
2006 Nov 13
1
Service Temporarily Unavailable when using apache
hey all,
I''m trying to do a mongrel_cluster+apache2 config.
this is my testapp.conf:
<VirtualHost *:80>
Include /etc/apache2/conf.d/testapp.common
# ErrorLog logs/testapp_errors_log
# CustomLog logs/testapp_log combined
</VirtualHost>
this is my testapp.common:
ServerName myapp.com
DocumentRoot /home/patcito/testapp/public/
<Directory
2017 Feb 21
3
[lld] elf linker creates undefined empty symbol
Hi,
When running my own lld generated library/executable I'm getting:
LD_LIBRARY_PATH=. ./ConsoleApplication347
./ConsoleApplication347: symbol lookup error: ./ConsoleApplication347:
undefined symbol:
(theres nothing after undefined symbol)
How can I figure out what's I'm doing wrong?
Full log:
https://gist.github.com/carlokok/1dd510a16e1922271b520f1c00b14656
readelf -s for
2006 Aug 16
3
(no subject)
Hi everybody,
We are developing several applications on a single server and I''m
looking for a way to use mongrel with each of them. Right now,
http://testapp.com/ is being served on that machine through apache
and mongrel. Here''s what a part of my apache config looks like:
<Proxy balancer balancer://testappcluster>
BalancerMember http://127.0.0.1:8000
2006 Feb 03
0
FastCgiExternalServer vs. static/dynamic
I''m trying to switch to the "external" fcgi method.
In httpd.conf, this works:
FastCgiServer "/tmp/rubystuff/testapp/public/dispatch.fcgi"
-idle-timeout 20 -processes 4
FastCgiConfig -maxClassProcesses 2 -maxProcesses 2 -minProcesses 1
-processSlack 1
This fails with an error (the public/500.html page is returned):
FastCgiExternalServer
2010 Nov 01
1
[patch] Allowing to_xml to rename keys in lower camel case format
Hi all,
I''ve created and submitted a patch to resolve an issue I had while
attempting to meet the OpenSocial API specifications, which dictates that
the xml output have tags formatted as lower camelcase (as opposed to upper
camelcase, which is currently the only option). With this patch, simply
passing :camelize => true still begets the current behavior, but you can now
enable lower
2010 Jan 21
0
[ wxruby-Bugs-27716 ] ruby 1.9.1p243 [i386-mingw32] not compile with wxWidgests 2.8.10
Bugs item #27716, was opened at 21/01/2010 13:39
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=218&aid=27716&group_id=35
Category: None
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Carlo Bertini (waydotnet)
Assigned to: Nobody (None)
Summary: ruby 1.9.1p243 [i386-mingw32] not compile with wxWidgests 2.8.10
Initial Comment:
2006 Jun 05
3
Help installing Rails app on server
Hello,
I''ve been creating Rails apps on Mac OS X just fine, and I just got a
hosting account with webmasters.com, which offers Rails.
I uploaded an empty app, just to see if I can get the "Welcome Aboard"
page. I did get that page, but when I click on "About your
application''s environment", I get "Not Found - Sorry, the requested URL
2006 May 30
0
url_for_file_column and image_tag not working right together
i just got file_column working and i love it. but i''m having some
problems with the urls. my application is not in the base directory, it
is in a folder called "/testapp". when i use "image_tag" with
"url_for_file_column", i get this path:
/testapp/testapp/entry/image/3/myimage.jpg
the image is located at:
/testapp/entry/image/3/myimage.jpg
to see if