search for: instantrails

Displaying 20 results from an estimated 348 matches for "instantrails".

2006 Mar 08
6
GD error...
Hi! I''m new in ruby/rails programming and i have a small problem. I have installed InstantRails 1.0 (for Ruby/Rails/Mysql/Apache envs) and I''m trying to make a small app working. I''m using auth_generator for making a login page/users admin pages... and I have a problem when trying to CHANGE the avatar for the user. I have the following error: MissingSourceFile in Acco...
2007 Jan 31
0
warning while requiring 'net\http'
Anyone knows what''s wrong with my configuration? Thanks >> require ''net\http'' C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:281: warning: already initialized constant Revision C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:282: warning: already initialized constant HTTPVersion C:/InstantRails/ruby/lib/ruby/1.8/net\http.rb:1121: warning: already initialized constant HTTPSession C:/InstantRai...
2007 Oct 24
7
NameError in CustomersController#index
...the same instructions but the difference is I created the database myself. After I create the scaffolds and try them out I get this error NameError in CustomersController#index uninitialized constant Customer RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:266:in `load_missing_constant'' D:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/ active_support/dependencies.rb:452:in `const_missing'' D:/InstantRails/ruby/lib/ruby/gems/1.8/gems...
2006 May 22
4
RMagick gem problem using Rails and possibly WEBRick...
...index.rhtml RAILS_ROOT: ./script/../config/.. Application Trace <http://localhost:3000/imagemod# | Framework Trace<http://localhost:3000/imagemod# | Full Trace <http://localhost:3000/imagemod# #{RAILS_ROOT}/app/views/imagemod/index.rhtml:2:in `compile_template'' C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:305:in `compile_and_render_template'' C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/actionpack-1.12.1/lib/action_view/base.rb:290:in `render_template'' C:/InstantRails-1.0/ruby/lib/ruby/gems/1.8/gems/a...
2006 May 18
5
Uninitialized Constant in scaffold list page
...als. The new page works fine, but then when it switches over to the list page, I get the errors below. Any idea how to fix this? Thanks! NameError in DatedgoalsController#index uninitialized constant Datedgoal RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'' C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:131:in `const_missing'' C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/actives...
2008 Apr 13
8
Brand new to rails: can't get databases to work
...zonQWN0aW9uQ29udHJvbGxlcjo6Rmxhc2g6OkZsYXNo %0ASGFzaHsABjoKQHVzZWR7AA%3D%3D-- ef1274263edd272a9339dc3c133cce94df9dc83e Parameters: {"action"=>"index", "controller"=>"zinger"} ArgumentError (No database specified. Missing argument: database.): C:/instantrails/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/connection_adapters/mysql_adapter.rb:81:in `mysql_connection'' C:/instantrails/ruby/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/ active_record/connection_adapters/abstract/connection_specification.rb: 291:in `send'&...
2006 Jul 01
0
Paypal IPN Gem
...sing paypal. <br/> <%= submit_tag "Go to paypal >>" %> <% end_form_tag %> ## This is the Error I get NameError in PaymentController#pay uninitialized constant Paypal RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ active_support/dependencies.rb:100:in `const_missing'' C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/ active_support/dependencies.rb:131:in `const_missing'' C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activ...
2006 Sep 04
5
uninitialized constant BooleanClause
...e latest Win32 gem and the acts_as_ferret plugin (i checked out the files and placed them in the vendor/plugins directory). When I try to search I get the following error: uninitialized constant BooleanClause RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/dependencies.rb:123:in `const_missing'' #{RAILS_ROOT}/vendor/plugins/acts_as_ferret/lib/acts_as_ferret.rb:176:in `acts_as_ferret'' #{RAILS_ROOT}/app/models/restaurant.rb:6 #{RAILS_ROOT}/app/controllers/browse_contr...
2007 Sep 04
4
Errors in executing first RoR app - reg.
...me in app/views/appone/index.rhtml</p> 7) C:/appone/script> ruby server webrick 8) in the IE typed the following URL http://localhost:3000/appone/ Got the following error message in the server console: #<ArgumentError: Anonymous modules have no name to be referenced by> ["C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:404:in `to_constant_name ''", "C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:214:in `qualified_nam e_for''", "C:/InstantRails/r...
2008 Apr 19
1
Problem with Active Web Service on InstantRails
Hi, I''m trying to install and use activewebservice on Rails 2.0.2(using instantrails) the gem install activewebservice finished succesfully. walked through the steps listed at: http://www.texperts.com/2007/12/21/using-action-web-service-with-rails-20/ when I try to start mongrel I get the following trace ** Starting Mongrel listening at 0.0.0.0:3000 ** Starting Rails with develop...
2006 Nov 04
0
Weird exception
...xception more or less regularly, after which only deleting the session file under /tmp will allow me to log back into my app. Any ideas? (I''m - as you can see from the stacktrace - running the whole thing on windows, and no, this was not my decision :) marshal data too short F:/Programme/InstantRails/ruby/lib/ruby/1.8/pstore.rb:353:in `load'' F:/Programme/InstantRails/ruby/lib/ruby/1.8/pstore.rb:353:in `load'' F:/Programme/InstantRails/ruby/lib/ruby/1.8/pstore.rb:306:in `transaction'' F:/Programme/InstantRails/ruby/lib/ruby/1.8/cgi/session/pstore.rb:71:in `initialize&...
2006 Jun 22
0
validates_presence_of with a Date
...trange error when I use validates_presence_of with a date attribute validates_presence_of :closing_date, :user, :product When I remove :closing_date it works fine. The stack trace and error is as follows: ArgumentError in BuyController#home wrong number of arguments (1 for 0) C:/cengal/apps/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:328:in `notify'' C:/cengal/apps/InstantRails/ruby/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/callbacks.rb:328:in `callback'' C:/cengal/apps/InstantRails/ruby/lib/ruby/gems/1.8/gems/act...
2006 Mar 13
2
Engines with InstantRails
I''ve recently started playing with InstantRails 1.0 and am now wanting to experiment with the Login and active RBAC engines but having trouble getting them to install. I''ve checked the following but can''t find any info on how to get it to work. http://rails-engines.org/wiki/pages/Engines+plugin I''ve also trie...
2006 Apr 27
11
Action Mailer Error!!!
What does this mean? Bad file descriptor - connect(2) -- Posted via http://www.ruby-forum.com/.
2008 Jun 19
3
New release RubyStack for Windows / includes git
Hi, Just thought I would let the list know of a new release of RubyStack for Windows, since there is a lot of overlap in functionality and may be of interest to some of you also using OS X and Linux. Please let me know if it is inappropriate. Like InstantRails, RubyStack is an open source, self-contained distribution of Ruby on Rails that is easy to install and use. It runs on Windows, Linux and Mac and instead of a ZIP file, it is a binary installer, so it takes a couple of extra steps to get running. In addition to Apache, MySQL, this release include...
2007 Jan 06
2
S3 throwing invalid argument using AWS S3 API
..., I keep getting the following error. However, if I reboot my webrick server, it works fine for about one hour and then starts throwing this error: Errno::EINVAL in UsersController#upload_pic Invalid argument RAILS_ROOT: ./script/../config/.. Application Trace | Framework Trace | Full Trace E:/InstantRails/ruby/lib/ruby/1.8/net/protocol.rb:175:in `write'' E:/InstantRails/ruby/lib/ruby/1.8/net/protocol.rb:175:in `write0'' E:/InstantRails/ruby/lib/ruby/1.8/net/protocol.rb:151:in `write'' E:/InstantRails/ruby/lib/ruby/1.8/net/protocol.rb:166:in `writing'' E:/InstantRails/...
2009 Jul 29
0
Problem uploading file to database mysql blob field
...tent_type = @temp_file.content_type.to_s.chomp self.filesize = @temp_file.size self.file = @temp_file.read end end end But After doing so I am getting the following error: Anybody please give some direction ndefined method `original_filename'' for #<String:0x8c09038> RAILS_ROOT: C:/InstantRails/rails_apps/redmine Application Trace | Framework Trace | Full Trace app/models/attachment.rb:56:in `file='' app/models/attachment.rb:60:in `file='' app/controllers/application.rb:183:in `attach_files'' app/controllers/application.rb:180:in `each_value'' app/controll...
2008 May 18
9
When should you restart a ruby server?
Hello everyone, While walking through AWDWR, Task D: Add a Dash of AJAX, I was initially unable to let the AJAX magic work. Hitting the Add to Cart button doesn''t yield to any output on its own; I had to manually refresh the pages to witness the change. But when I tried to restart the ruby server, and load the application again, everything worked fine. Any explanations to behavior
2007 Jun 02
2
Unit tests breaks with sqlite
...e test:units The problem is that, but when I want to run a (any) test, I get a "SQL logic error or missing database (SQLite3::SQLException). I can however access the DB via the sqlite3 client/rails console without any problem. Here''s the exact error message I get: Loaded suite C:/InstantRails/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/ lib/rake/rake_test_loader Started EC:/InstantRails/ruby/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1- mswin32/lib/sqlite3/errors.rb:94:in `check'': SQL logic error or missing database (SQLite3::SQLException) from C:/InstantRails/ruby/lib/ruby...
2010 Sep 02
7
unable to upload larger files
hii, i am trying to upload some files to filesystem using rails application when i use small size file everything is perfect but i when goes for larger files i got error this is my code #this model file class DataFile < ActiveRecord::Base def self.save(upload) name = upload[''datafile''].original_filename directory = "//192.168.147.17/Smruti/streams" #