search for: jurewitz

Displaying 9 results from an estimated 9 matches for "jurewitz".

2006 Mar 30
5
Has_many :through problems -- please help
...@user = User.find(1) @group = Group.find(1) @user.groups << @group @user.save but I get the error "ActiveRecord::HasManyThroughAssociationNotFoundError". I''m running Webrick on OS X, have restarted it, and have looked everywhere to no avail in this problem. Michael Jurewitz sinjin5@mac.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2413 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060330/f2c568a8/smime.bin
2006 Mar 16
2
WEBrick and OS X 10.4.5 problems?
...TTP/1.1" 500 0 http://localhost:3000/ -> /rails_info/properties 127.0.0.1 - - [15/Mar/2006:22:05:43 PST] "GET /Mike HTTP/1.1" 500 0 - -> /Mike 127.0.0.1 - - [15/Mar/2006:22:05:43 PST] "GET /User HTTP/1.1" 500 0 - -> /User Anyone else seen this behavior? Michael Jurewitz sinjin5@mac.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2413 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060316/dda65201/smime.bin
2006 Mar 22
2
habtm vs. has_many/belongs_to
...belong to each? Is anyone aware of where I might look to find more information on this kind of alternative setup? How often have any of you chosen the method described here as opposed to just using HABTM? What are some of the main trade-offs in using either? Thanks in advance! Michael Jurewitz sinjin5@mac.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2413 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060322/f857a881/smime.bin
2006 Apr 21
2
Forms Containing Collections problem
..." instead of just "entry". I need the id of the entry being written in the form and thus would prefer to use the "entry[]" method. Page 344 of AWDWR makes it look like it should work, but for some reason I can''t get it to. Any help is appreciated! Michael Jurewitz sinjin5@mac.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2413 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060421/9f7fb522/smime.bin
2006 Mar 15
5
Passing params to a component
I see from http://rubyonrails.org/api/classes/ActionController/Components.html that is possible to pass paramaters to a component. I don''t understand the exact syntax. I''m trying: @master_id = @params[''master_id''] in the components controller but it is not working. ==== Details: In my calling view I have: <%= h(@opportunity.id) %> <div
2006 Mar 15
3
App design help for a newbie (trying again)
...ormance. Would the most effective way to accomplish user-by-user caching for components specific to them be through action-caching? Many many thanks in advance for helping out a newcomer like myself. I''m very excited by Rails and look forward to getting off the ground with it! Michael Jurewitz sinjin5@mac.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2413 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060315/a992c6b4/smime-0001.bin
2006 Apr 03
0
has_many questions
...wing in User: has_many :administrators has_many: groups_administered, :through => :administrators However, this causes Active Record (I think) to no longer know what it should be joining to with this particular association. Can anyone provide some tips on how to overcome this? Michael Jurewitz sinjin5@mac.com -------------- next part -------------- A non-text attachment was scrubbed... Name: smime.p7s Type: application/pkcs7-signature Size: 2413 bytes Desc: not available Url : http://wrath.rubyonrails.org/pipermail/rails/attachments/20060403/2c467452/smime-0001.bin
2006 Mar 15
0
App design help for a newbie
...nce. Would the most effective way to accomplish user-by-user caching for components specific to them be through action-caching? Many many thanks in advance for helping out a newcomer like myself. I''m very excited by Rails and look forward to getting off the ground with it! -Michael Jurewitz -- Posted via http://www.ruby-forum.com/.
2010 May 23
1
[Rails 3] Trouble with named routes and form_for
Hi guys, I''m having trouble getting named routes and form_for to play nicely in quite the way I would expect. Here''s a quick summary of what I''ve got going on: Named route: resources :thread, :class_name => "forum_thread" Controller name: forum_thread_controller Model object: forum_thread In both my new and edit actions I''m setting up an