similar to: EdgeRails: "undefined method `weight'' for #<Hash:

Displaying 20 results from an estimated 1000 matches similar to: "EdgeRails: "undefined method `weight'' for #<Hash:"

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
2007 Apr 09
0
Problem with Ferret on OS X with Locomotive
I am using Locomotive 2.0.8 with Rails 1.2.3 for development. It works great. I recently installed Ferret 0.11.4 as a gem. The installation seemed to go fine. No error or warning messages. I setup a test rails app to try Ferret, and the server won''t start. The error I get is /Applications/Locomotive2/Bundles/rmagickRailsJan2007_x86.locobundle/
2006 Jul 31
0
rescue_action_in_public useless to capture low level errors
Hi all, I''m trying to make for nicer system error handling, with the help of rescue_action_in_public (see Recipe 47, in ''Rails Recipes'') PROBLEM: While it lets me capture an incorrect db name in database.yml (for example), with lower level errors like when the DB server is just down, I still get the default system error screen for MySQL::ERROR :
2006 Aug 17
3
Ferret locks up when adding items to an index
I''m running Ferret 0.9.5 on a MacBook Pro (OS X 10.4.7) under Locomotive 2.0.7. I have a problem where Ferret is hanging when I try to add items to the index. It doesn''t happen with every object that''s being indexed, and I''m not sure what the objects in question have in common (they are not all instances of the same ActiveRecord object). The process
2007 Feb 20
2
rails 1.2.1, locomotive and backgroundrb
Hi I just tried to move my project to rails 1.2.1 on my locomotive development setup. It seems that backgroundrb is not willing to start up anymore. If I switch locomotive back to 1.1.6, everthing is fine. This is the error I get while attempting to start backgroundrb: /Applications/Locomotive2/Bundles/standardRailsJan2007.locobundle/
2005 Dec 18
2
[Bug?] in tests, @foo.bars_count <> @foo.bars.count
Example: if a ''foo'' has 3 ''bars'', bars_count == "0" # ERROR bars.count == 3 # OK It looks like a bug to me. Alain -- Posted via http://www.ruby-forum.com/.
2007 Feb 25
4
[BUG] Bus Error OS X
I''m getting the following on OS X (under locomotive) when running the tests for ferret. Is anybody else getting this error? rm -f ext/mem_pool.* rm -f ext/defines.h ** Execute test_units /Applications/Locomotive/Bundles/rmagickRailsJan2007_x86.locobundle/framework/bin/ruby -Ilib:test/unit
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 Dec 16
13
How to pass a collection to paginate?
There must be a better way to write this code: @project_pages, @projects= paginate :project, :per_page => 10, :conditions => ["account_id = ?", account] ?! If only I could pass the sub-collection account = ... @projects = account.project to paginate, instead of letting it extract it with a find :all + sql conditions Alain. -- Posted via
2005 Dec 16
4
Parent Child together in input form
Hi all, I understand how rails is supposed to work when dealing with one entity input form. However, when I have a relation between two objects (composition): Customer(1) --------> (1)Address How can you create a inputform where both the properties of a Customer and Address can be filled in? Regards, Harm de Laat _______________________________________________ Rails mailing list
2006 Feb 14
20
Adding payment to an app: how hard and risky is it?
Hi all. I have never implemented online payment and it''s the only thing that keeps me from accepting a project for a UK based client. (I must reply quickly!) While I can afford spending an extra week - or 2 - to learn/try/tune the payment system, I must be sure to succeed before I accept the contract. If you''ve already been through that path, any hints, links and/or
2006 Mar 07
0
Storing sessions files elsewhere on EdgeRails
Hi all, In a Rails 1.0 project, 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
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
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 within vendor/rails and such. Is there a way to point require_gems to another
2005 Dec 16
6
managing belongs_to fields in a form
Hi all, I cannot find a clean way to create/edit an object that ''belongs_to'' another one, just by using form fields. I always need to explicitely unassemble it, store the master id in a hidden field, and then refetch the master from its id, and put it back in the object. To summarize: I want to create a new member, for a given project @project= ... @member =
2005 Dec 15
6
passing parameters to link_to OR better way to do this?
Hi All: I''m writing my 1st Rails app and I can''t seem to find the answer on the web or in the book. I''m making a table, and I want to be able to expand a filename. The code is basically as as follows below. In the last <td> entry, I want to call an action and pass in the test_results_path, which I will go and read a file and munge the data for a separate
2006 Aug 02
4
RadRails and EdgeRails
Anyone know how to setup EdgeRails with RadRails ? Stuart
2006 May 17
13
Using NTLM for S.S.O. in Rails
Greetings all, To all the good souls that happen to know NTLM and Rails.... Short version: -------------- - I''m looking for server code to extract credentials through NTLM dialog with the client (IE) - I found nothing usable/useful (as they both implement the client side code) in - rubyntlm on rubyforge - lib ntlm-ruby by Jonathan Bastien-Filiatrau LONG version:
2008 May 16
0
attachment_fu and/or rmagick on osx -- weird error
One of our developers is getting a weird error from attachment_fu and/or rmagick on OSX. And even weirder because he''s used attachment_fu and rmagick on other projects without difficulty. This all works fine on debian/ubuntu. See the stack trace below. Any suggestions? Btw, the code that''s blowing up is retrieving the attachment_fu info. The presence of image_science in
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