search for: railsonly

Displaying 5 results from an estimated 5 matches for "railsonly".

Did you mean: mailonly
2006 Jan 21
3
need some help designing my threaded messaging system
Hi, I want to create a messaging system that recognizes threads of messages, not unlike gmail. So far I have these models: Conversation belongs_to :user has_many :messages Message belongs_to :conversation The problem I am running into is not only does a conversation belong to a user but the conversation also has a receipient user with his/her corresponding conversation. How would I
2006 Jan 03
1
how do i specify which version of rails?
my host has both 0.14.3 and 1.0.0 of Rails installed. how can i specify that i want to use 0.14.3 with my application? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060103/4aa773c8/attachment.html
2006 Mar 09
3
removing something from the session
Hi, Kind of a dumb question but when there is something in the session how do you remove it? @session.delete(:params) doesn''t work unfortunately. -- Frank Kim http://betweengo.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060309/de00e277/attachment.html
2006 Apr 21
0
checkbox with has_many
Hi, How do I set up a checkbox to use a record with a has_many field? For example, say I have a User which is an Active Record Model. And say it has many names. class User < ActiveRecord::Base has_many :names end class Name < ActiveRecord::Base belongs_to :user end Say I want to update this user and I want checkboxes that give a choice between different names. How would I do that?
2008 Apr 02
1
Error in my_thread_global_end() when running rake db:migrate
When I run rake db:migrate I get this error at the end. Error in my_thread_global_end(): 1 threads didn''t exit I pinned it down to this code which is in 004_create_permissions.rb. # create admin user user = User.new user.login = ''admin'' user.password = ''password'' user.save(false) If I don''t run user.save(false) I