search for: edgerails

Displaying 20 results from an estimated 75 matches for "edgerails".

2006 Mar 29
5
EdgeRails: "undefined method `weight'' for #<Hash:
Hi all, I was playing with the sample project found on the Wiki at http://wiki.rubyonrails.com/rails/pages/HowToIntegrateFerretWithRails , and everything was working fine, ... till I moved to EdgeRails : undefined method `weight'' for #<Hash:0x22c7150> (full error thread below) Any idea? Alain /Users/aravet/Desktop/Locomotive/Bundles/RubyonRails-1.0-Min.locobundle/Contents/Resources/unix/lib/ruby/site_ruby/1.8/ferret/search/index_searcher.rb:107:in `search'' /Users...
2007 Sep 28
4
RSpec + EdgeRails on Windows
I recently post on my blog about setting up a Rails environment with RSpec in Windows, and someone left a comment saying that it doesn''t work in EdgeRails. I so I played around with it a bit and was able to confirm that none RSpec appears broken on EdgeRails. I''ll post the various error messages I received below. I''m not expecting any sort of patch or something for this since it is EdgeRails, but I''m hoping someone might un...
2005 Dec 18
2
EdgeRails with other Gems like RMagick
I am using EdgeRails, and have some of the plugin''s using gems such as Rmagick which are included through a command similar to "require_gems ''rmagick''". Curious how to handle such attempts at inclusion when I am no longer bound to the system gems and am using the code strictly with...
2006 Aug 02
4
RadRails and EdgeRails
Anyone know how to setup EdgeRails with RadRails ? Stuart
2006 Mar 07
0
Storing sessions files elsewhere on EdgeRails
...roject, I successfully changed the sessions storage location to <RAILS-ROOT>/tmp, by adding ActionController::CgiRequest::DEFAULT_SESSION_OPTIONS.update(:tmpdir => File.join(RAILS_ROOT, ''/tmp'')) in environment.rb Problem: -------- I tried to use the same trick in an EdgeRails project, but it doesn''t work : server error, with no msg in the logs. (MacOS X, with Locomotive.) When I start the console, I get a new error: Loading development environment. ./script/../config/../config/environment.rb:47:NameError: uninitialized constant ActionController ./sc...
2006 Mar 10
0
Session management changed in EdgeRails?
Hi, I''ve been developing an application in Rails 1.0 and finally made the switch to Edge for has_many :through and polymorphism. I''m currently storing the authenticated user object (User model) in the session. This has worked well up until upgrading to EdgeRails. What I do is set @user = session[:user] in my controllers and then access the various @user associations such as @user.posts. In 1.0, the session data would remained unchanged unless I explicitlt made change to a @user property, but in Edge, every association I reference is copied into the ses...
2006 Mar 13
4
Storing model object in session in EdgeRails
I''m having a problem with sessions since upgrading to EdgeRails. Against certain recomendations, I''m storing the current user''s model object in the session. This worked fine in 1.0 and earlier, but now I am noticing that any time I reference the associated objects for an object stored in the session, the associated objects get copied into...
2006 Mar 02
0
EdgeRails with_scope and :select
>From what i can gather the with_scope feature doesn''t allow you to specify which columns get selected. It appears to default to "*". So if i specify something like: Question.with_scope( :find => { :from => "questions q, answers a", :conditions => "q.owner = a.owner AND a.owner=1" }) do ... end I''ll generate SQL like: SELECT *
2006 Feb 28
4
How to use Ruby on Rails on OS X
Direct from the horse''s mouth. :-) http://developer.apple.com/tools/rubyonrails.html Found via: http://digg.com/technology/Apple_makes_a_concise_Ruby_on_Rails_tutorial -- -- Tom Mornini
2005 Oct 12
0
SCGI + edgerails
I can''t get SCGI to work with edge rails. Is the runner designed to work with edge rails? Thanks! Kyle Maxwell
2006 Dec 05
1
Using render inside a FormBuilder (EdgeRails)
I''m using the latest trunk of 1.2-ish, and I''m wondering how to do what I want to do. I am using a form_for :builder I wrote, simply called TableFormBuilder after the rails cookbook, and want to be able to present help icons automatically. I want these icons to appear next to form fields I am rendering. For example, I have this method in helpers/table_form_builder.rb: # This
2006 Dec 19
1
Internal API errors in EdgeRails
Started getting these in my development.log when I called a bad before_filter. Looks like log_error needs to be updated? DEPRECATION WARNING: @response is deprecated! Call response.inspect instead of @response.inspect. Args: [] See http://www.rubyonrails .org/deprecation for details. (called from log_error at ./script/../config/../vendor/rails/actionpack/lib/action_controller/rescue.rb: 66)
2005 Dec 21
7
Are there any disadvantages to using locomotive
Hi: I had some issues and so switched to locomotive. I find it awesome. 1 click and its done. My question - what disadvantages are there, if any? What do I lose by using such a convenient solution. speculation as well as facts are welcome but please define which you are putting forwards. Thanks in advance, bruce
2006 Jan 13
7
installing rails in vendor
Does a rails project automatically switch to using a "local" copy of the rails libs if it exists in the vendor directory, or do I need to tweak something else to pick it up? Thanks! -Theo
2006 Mar 13
8
Nested find(:all, :include => ) statements
Is there a way for me to do: OrderItem.find(:all, :include => [:user, :product => [:supplier]] So I don''t have a supplier_id on my order_item, but have it on my product, which is part of order_item. Joerg -- Posted via http://www.ruby-forum.com/.
2005 Dec 02
8
UserEngine: stack level too deep
...ed! stack level too deep But... the db-tables seem to created right. And I tried: rake bootstrap with the same result: rake aborted! stack level too deep Same when I browse to http://localhost:3000/users/list "Action Controller: Exception caught" stack level too deep I''m using EdgeRails on WinXP SP2 PgSQL 8.1 Cheers, Ean PS: Here''s the trace: #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb:682:in `|'' #{RAILS_ROOT}/vendor/rails/activerecord/lib/active_record/validations.rb:682:in `write_inheritable_set'' #{RAILS_ROOT}/vendor/r...
2006 Mar 21
4
Broken config/lighttpd.conf? (in EdgeRails)
I''m using Mac OS X, I installed Ruby/Rails/lighttpd/etc via the instructions from hivelogic. I think I''ve found a bug with EdgeRails, but I''m not sure how to submit it (and maybe I''m doing something wrong and someone can just point me in the right direction). Anyway I thought I''d report it just in case it is a bug. I''ve downloaded the EdgeRails tree (revision 4007 using `/usr/local/ bin...
2006 Aug 16
6
Newbie-Question
Hi. I''ve just started using Ruby on Rails. Now I''ve got my first problem. I generated a new migration ''add_price'' and get the message:
2006 Sep 14
4
AWDWR 2nd edition and REST
Question, and I''ll preface it by asking if this is the right list to be posting questions regarding anything past Rails 1.1.6 , (i.e. edgerails) ? In the latest revision of AWDWR there is a sample REST based app. During the creation of the controller and actions, there is a foot note that says: "7. By the time you''re reading this, there may well be support build into Rails to create these RESTful controllers automatically.&...
2006 Feb 08
0
subversion AND gem rails howto?
I have been using rails on Debian Sarge since May of last year. I initially gem installed rails as root and since then I have been gem updating the installation. I have had no trouble with the installation or development. Now feel that I''d like to use svn to get edgerails to be able to use nifty features such as RJS. Some of the threads on the subject talk about svn:externals in the vendor directory. This means I''d have to do this for each project? Can some one please tell me how to manage a svn edgerails version on my machine which can be shared between al...