[Rails] Re: Using Rails Objects in js file

2010-10-28 Thread Gary Taylor
Hi, Rails does not process js files directly. I would do one of 2 things :- 1. Output any data that you require from the user object into a script tag within the page that uses the javascript and pass that data through to your javascript code. 2. Use rails RJS feature (see

[Rails] Re: Deploying issues with plesk.. usergroups, permissions and mysql database creation

2010-02-01 Thread Gary Taylor
I use git with my own repo's, along with Capistrano and passenger. I simply have a special 'vhost.conf' for plesk (you can do this in .htaccess but I don't like them) and I then create the 'apps' directory on the server manually with the correct permissions and then fire off capistrano to do the

[Rails] Mountable Apps

2010-01-29 Thread Gary Taylor
Hi I am very interested in mountable applications in rails 3. I would like to know if this is an 'engines' replacement as I have a number of engines plugins and I need to know the way forward for converting them either to 'rails 3 engines plugins' (when engines becomes rails 3 compliant) or

[Rails] Re: same controller and database, different views based on domain name

2010-01-25 Thread Gary Taylor
You have a couple of options. 1. Setup virtual hosts on your web server and find a way to keep the public folders seperate(easy in passenger on apache, but cannot speak for anything else). This does not allow for having seperate view files for each subdomain. 2. In addition to or instead of 1,

[Rails] Rails Web Site

2009-04-23 Thread Gary Taylor
Whenever I go to the rubyonrails.org website, it has been replaced with a page which is like a search engine for all things rails. I can't find the documentation or anything ??? I am assuming that everyone has this problem or is it just me ? Cheers Gary

[Rails] Re: Just can't get Ruby on Rails to work in Leopard

2009-04-06 Thread Gary Taylor
I had this issue, and to start with, I followed various blogs to set the location of the mysql libraries etc.. However, when I did it yesterday, I simply installed the 32 BIT mysql package directly from the mysql web site (64 bit wont work apparently). Then I did 'sudo gem install mysql' - and

[Rails] Polymorphic Nested Attributes In 2.3

2009-03-07 Thread Gary Taylor
it complains that the method build_owner is missing. Regards Gary Taylor --~--~-~--~~~---~--~~ 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