Displaying 20 results from an estimated 9000 matches similar to: "proc extension problems"
2007 Nov 26
0
rSpec (rev 2996), Rails (rev 8214): TextMate bundle problems
Hey guys,
I''m trying to get rSpec (rev 2996) working with Rails 2 (rev 8214).
Running the tests from the command line works, no problem.
I installed the RSpec.tmbundle (also rev 2996), and would like to see
the HTML test results in TextMate. When I run the "Run examples in
selected files/directories" command in TextMate, I get the following
dump:
2005 May 22
1
ActiveRecord: can not connect to mysql
Hi
I would like to write my first application with Active
Record:
this is my database table:
id PRIMAREY KEY auto_increment
german_name varchar(50)
english_name varchar(50) |
wingspan
this is my code:
=======================
#!/usr/local/bin/ruby -w
require ''rubygems''
require_gem ''activerecord'', ">= 1.10.1"
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
2005 Mar 15
0
0.10.0, Routes and Query strings
So I made the leap to 0.10.0 but I can not get routes to play nice
with query strings...
I have this mapping in my routes.rb file
map.connect '':controller/:action/:id'', :controller => ''main_controller''
This is all cool and everything works fine http://www.siteroot.com/
maps to http://www.siteroot.com/main_controller/index
But when I add a query string to
2006 Apr 11
0
Getting error while running typo......
Hi,
I have downloaded typo version "typo-2.6.0_with-rails" from typo
website. & I have already installed rails, mysql recommended by typo in
their "readme" file. Now I hhave created new database & populated it
with the sql queries provided by typo. & also made proper changes in
"database.yml" file. Now when I am trying to launch application through
2009 May 10
3
Ruby 1.9 problem
What wrong:
# rails test
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext/uri.rb:8:in
`<top (required)>'': uninitialized constant URI::Parser (NameError)
from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`require''
from
/var/lib/gems/1.9.0/gems/activesupport-2.3.2/lib/active_support/core_ext.rb:3:in
`block in
2009 Apr 10
4
rails2.3/ruby1.9: invalid byte sequence in utf-8 with blank?
hi all,
anyone seen this controller argument error:
invalid byte sequence in utf-8
ror/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb:
50:in `=~''
ror/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb:
50:in `!~''
ror/vendor/rails/activesupport/lib/active_support/core_ext/blank.rb:
50:in `blank?''
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
2009 Apr 30
1
error with test:functionals
Hello there,
I working on my tests but I getting this strange errror:
I can see on the database that the object was created but I still got
an failure on my test.
this is my test code:
test "should create artist" do
assert_difference(''Artist.count'', difference = 1) do
post :create, :artist => { }
end
assert_redirected_to
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
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 Apr 06
1
Seeking help with basic installation
Hi all,
Please help me.In my first attempt to creat a simple
controller and working with hello world program.I got some error
though I have my action and view correctly.......
In general..When I type http://localhost:3000/ I can get the welcome
page.But when I see the "About your application Envinorment"..I get
some error as following..
MissingSourceFile in
2008 Jun 04
2
gem_original_require
Hi all,
my computer decide to take a dirt nap today so I am trying to relaod
rails on another machine and I am getting this error message which I
can''t make heads or tails about:
no such file to load -- postgres
RAILS_ROOT: ./script/../config/..
c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:27:in
`gem_original_require''
2006 Jan 18
1
Another uninitialized constant question
Guys,
I''m trying to generate a scaffold to admin a table called hangars. I''d
like the controller to fall with an "admin" sub-module.
I used the command:
script/generate scaffold Hangar Admin::Hangar
This seemed to work, and placed the controller in
controllers/admin/hangar_controller.rb, where I expected to find it. It
also created the hangar.rb model in
2006 Mar 12
1
Error when starting webrick with "ruby script\server"
I went through the guide located here:
when I try to start up the Webrick server, I get this error:
=> Booting WEBrick...
./script/../config/../vendor/rails/activesupport/lib/active_support/core_ext/kernel/agnostics.rb:7:in
``'': Exec format error - rake tmp:create (Errno::ENOEXEC)
from
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
2006 Jul 29
2
uninitialized constant ApplicationController
Hey,
I am getting a weird error that doesn''t give much helpful debug output
because the application controller can not be found. The actual error
output actually shows up in the webrick server, i''m trying right now
wether this could be because of my computer configuration but i don''t
think so because it was working yesterday and i must have changed
something that