search for: sinjin5

Displaying 8 results from an estimated 8 matches for "sinjin5".

Did you mean: singing
2006 Mar 30
5
Has_many :through problems -- please help
...ser.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?
...uot; 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
...o 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 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)
...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
...ser: 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 Apr 21
2
Forms Containing Collections problem
...stead 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
0
App design help for a newbie
Hi there, I''m working on a new student portal system using Rails for a large university. As part of this application, I plan on students being able to customize their own calendar, collection of commonly used links, aggregation of newsfeeds (from the university, student groups, etc), and to see a listing of major announcements they should be aware of. It seems to me, to make the