[Rails] Re: How to set a root URL ?

2009-02-09 Thread James Mitchell
Is your app fronted by Apache? -- James Mitchell On Mon, Feb 9, 2009 at 7:57 AM, Pierre L pierre.lai...@gmail.com wrote: Hello, My server installation of RoR is working but I still have a problem with routes. I would like the root URL of my site to be some thing like mydomain.com/mysite

[Rails] Re: rake test fails - pending migrations

2008-12-03 Thread James Mitchell
actions' are working on a different machine. I remember having the same problem and it disappeared after I experimented few things with rake:db:migrate. Is there any procedure for removing migrations? Thanks, Shantanu. -- Posted via http://www.ruby-forum.com/. -- -- James Mitchell

[Rails] Re: rake test fails - pending migrations

2008-12-03 Thread James Mitchell
for above migrations and also made necessary changes in the code and now trying to run tests. Am I following wrong approach? Thanks, Shantanu. James Mitchell wrote: That's an unusual question. The reason you have tests is to verify your code actually does what you think it's doing. If you

[Rails] Re: ActionController::InvalidAuthenticityToken?

2008-11-29 Thread James Mitchell
http://alwaysmovefast.com/2008/01/30/ajax-in-rails-with-authenticity-token/ -- James Mitchell On Sat, Nov 29, 2008 at 9:53 PM, pete [EMAIL PROTECTED] wrote: Hi- I am trying to use AJAX calls to login and logout of my Rails app so that the form renders in the side bar when you

[Rails] Re: rubygems broken

2008-11-24 Thread James Mitchell
-- -- James Mitchell --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email to rubyonrails-talk@googlegroups.com To unsubscribe from this group, send email

[Rails] Re: select_month post and params

2008-11-22 Thread James Mitchell
% -- The notice is empty after the post. Greetings, Andi -- Posted via http://www.ruby-forum.com/. -- -- James Mitchell --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post

[Rails] Re: Distinct selection

2008-11-21 Thread James Mitchell
What exactly are you trying to do? From reading what you wrote, it sounds like you want a list of roles that have not already been assigned. Is that right? -- James Mitchell On Fri, Nov 21, 2008 at 8:59 AM, Yan Oleg [EMAIL PROTECTED] wrote: Yan Oleg wrote: I have the following code

[Rails] Re: Distinct selection

2008-11-21 Thread James Mitchell
to return. What does it do? Does it return: a) members who do not have a role and are therefore able to be assigned a role ? b) some awkward pass-through delegation to roles that aren't assigned yet ? -- James Mitchell On Fri, Nov 21, 2008 at 9:51 AM, Yan Oleg [EMAIL PROTECTED] wrote

[Rails] Re: View Question... or is it a model question?

2008-11-21 Thread James Mitchell
), which is then passed along to the view such that the view does not need to care what kind of category it has or how to get the name from it. Hope that helps. [0] http://validatable.rubyforge.org/ [1] http://blog.jayfields.com/2007/02/ruby-forwardable-addition.html -- James Mitchell On Fri, Nov 21

[Rails] Re: mongrel problems

2008-11-21 Thread James Mitchell
don't even own a PC. Have fun! -- James Mitchell On Fri, Nov 21, 2008 at 1:53 PM, Ank Ag [EMAIL PROTECTED] wrote: Hi, I am using mongrel on win2k. after i start mongrel only one engine handles all the request so the requests are served serially. How can i run multiple instances of mongrel

[Rails] Re: Updating Rails in Aptana RadRails

2008-11-21 Thread James Mitchell
You will probably get a quicker answer if you ask on the Aptana RadRails mailing list. -- James Mitchell On Fri, Nov 21, 2008 at 4:31 PM, Schalk Neethling [EMAIL PROTECTED] wrote: Hey all, Rephrasing my previous question a little. How do I update the current Rails version when using

[Rails] Re: Live Clock and Date on Rails

2008-11-21 Thread James Mitchell
html file, which you keep insisting shows the wrong date. It sounds like you just have some bad javascript code. Have you tried dropping in any one of the 10,000 javascript samples available from a basic google search? -- James Mitchell On Fri, Nov 21, 2008 at 6:31 PM, The Neurochild [EMAIL