Re: [Rails] (JOBS) Junior Rails Developer, London, UK

2010-06-26 Thread ratnamraj varasala
Hai Andy, This is Raju from india im Ruby on Rails Developer and as well as System Administrator also from past two years, i have work experience in ROR 1/2 years now im deal both ROR development and System Admin. Andy i have a doubt, im clear about your offer, i.e., remote working or relocate

[Rails] Re: best practices for putting rails site out on the internet with authentication

2010-06-26 Thread Lecky
I have a similar case here. My project also using Devise and we are trying to restrict access to users even robots to the public site. What we have done is using Devise http_authenticatable to authenticate users in our database, which is working quite well. Cheers, Lecky On Jun 26, 5:24 am,

[Rails] Error when running ruby script/ generate: please help : error syntax error on line 4, col 15

2010-06-26 Thread Runy
Hi, I'm running a ruby script on my mac. I use textmate, mysql query browser and my sql administrator. I get an error message when I run ruby script/ generate. The database energy_development has been set up. But it still gives me the following error: creative-models:energy runycalmera$ ruby

Re: [Rails] deploy: First Rails App to shared server

2010-06-26 Thread Mark Kremer
That really depends on your hosting provider, you'll probably need to contact them and ask them about it. If your current hosting provider does not offer the option to run your setup you can either look for a hosting provider that does offer Ruby on Rails (I know a number of them exist,

Re: [Rails] Re: [BUG] Segmentation fault

2010-06-26 Thread Mark Kremer
Hello Daniel, ruby-1.9.2-head is not a snapshot, it is actively being developed on. So if you download ruby-1.9.2-head Today it may be quite different from what you downloaded with rvm originally. There have also been preview releases of Ruby 1.9.2 (the latest being preview3, if I am not

[Rails] Opportunity for a seasoned Ruby on Rails architect for SF Interactive Agency

2010-06-26 Thread melissa martin
Hello, Razorfish is currently seeking a seasoned Ruby on Rails architect for a client project over the next few months. If you are interested please send a resume and letter of interest to: melissa.mar...@razorfish.com Thank you. Best, Melissa Martin Experience Designer Razorfish, San Francisco

[Rails] Ruby Application installation

2010-06-26 Thread blackbug
I have the following directory structure of the ruby application how am i supposed to install it and to make it work? bin doc etc LICENSE scripts src test Can anyone help me on this? thanks -- You received this message because you are subscribed to the Google Groups Ruby on Rails:

[Rails] Re: My First Ruby App

2010-06-26 Thread sumudhar
Hi Radha, As per the details given by you, you want to run the application with out using the database migrations and Rake command, provided by the ROR. You have your own data base structure in that you have the tables in that data base, in database.yml you are going to give those details, and

[Rails] Re: Installing MySQL gem on Mac OS X Leopard for Rails 2.3.5

2010-06-26 Thread Jonathan C.
Hi Ram, http://hivelogic.com/articles/ruby-rails-leopard and http://hivelogic.com/articles/installing-mysql-on-mac-os-x :D -- 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

Re: [Rails] Ruby Application installation

2010-06-26 Thread Mark Kremer
What platform are you installing on? What Ruby application are you talking about? Or are you talking about Ruby itself? On 25-6-2010 19:06, blackbug wrote: I have the following directory structure of the ruby application how am i supposed to install it and to make it work? bin doc etc

[Rails] can www.example.com/...#!... always use controller=redirect

2010-06-26 Thread Jian Lin
In Ruby on Rails routing (using route.rb), can it say, for any URL having the form: www.example.com/ ... #! ... then use controller `redirect` ? This is so that in AJAX, some page can tag the `#!` at the end of URL so that the real content of interest is the part after the `#!` -- Posted

Re: [Rails] can www.example.com/...#!... always use controller=redirect

2010-06-26 Thread kannav rajeev
Site_url = www.example.com redirected_to #{site_url} or directly in routes.rb can work a bit you have to google On Sat, Jun 26, 2010 at 4:52 PM, Jian Lin li...@ruby-forum.com wrote: In Ruby on Rails routing (using route.rb), can it say, for any URL having the form: www.example.com/ ...

[Rails] Time-dependent values/constants in Models: An issue or not?

2010-06-26 Thread Tom Ha
Hi there, I remember reading in the comments of a Rails blog something along these lines: Since a Model is loaded only once in production development (at server start), certain time-dependent 'constants' that you have placed in a method of a Model will always return the same value for those

[Rails] disabling 'show status' in activerecord because of overhead of spawning process

2010-06-26 Thread deepak
hi, i have a app which has a spiky activity, there a large period of inactivity between request. With phusion-passenger after a period of inactivity the process is killed, and when the app is respawned the 'show status' queries take more time than the actual sql themself. I know that ActiveRecord

[Rails] testing and migrations

2010-06-26 Thread anywho
does rails always need to update the development database before running the tests? It seems to insisit on running db:migrate before. Why can't it just update the test database? This can be annoying if I'm in a production environment and I don't want a migration to happen until I know the tests

[Rails] Re: Error installing gems for Rails 3.0.0.beta4 on MacOSx

2010-06-26 Thread Andre Cubeta
frankjmat...@gmail.com wrote: it looks like you either installed rvm as root or are running it as such... I'm not sure exactly. either way. you shouldnt have to involve usr/bin in anything. all your commands should be directly from your home user directory. done that way, rvm will then

[Rails] Re: My First Ruby App

2010-06-26 Thread RailsFan Radha
Hi Murali, This is excatly what i want! (Looks like my trip to tirupati got answered) Murali Tirupati wrote: Hi Radha, As per the details given by you, you want to run the application with out using the database migrations and Rake command, provided by the ROR. Yes! You have your own

[Rails] Re: Re: Re: My First Ruby App

2010-06-26 Thread RailsFan Radha
Hi Rajeev, Thanks for helping! i really hate to delete the table. I would like to make use of the table and point ror to grab what ever it wants by using the config files and commands, without retyping the fields. is there something called tableClass.columns which i could use for thsi purpose?

Re: [Rails] Re: My First Ruby App

2010-06-26 Thread murali dhararao
Hi Radha, My id is sumud...@gmail.com, you can send me the desired requirements, I will guide you how can you achieve this. On Sat, Jun 26, 2010 at 11:05 PM, RailsFan Radha li...@ruby-forum.comwrote: Hi Murali, This is excatly what i want! (Looks like my trip to tirupati got answered)

Re: [Rails] deploy: First Rails App to shared server

2010-06-26 Thread murali dhararao
Hi , Did you deployed application on apache server? is that is running locally? On Sat, Jun 26, 2010 at 3:37 AM, Ali Imran ali.imran.r...@gmail.com wrote: I installed ruby: 1.8.7 rails: 2.3.8 gems: 1.3.5 on the Ubuntu with passenger 2.2.15 now i create the first demo application, i

[Rails] change parameters to periodically_call_remote

2010-06-26 Thread candor
Hi, I have a search box (id=:phrase) on my rails ajax page. I want a periodically call remote poller to update a div whenever the value in that box changes. On the page containing the search box, I have the following: %= periodically_call_remote(:url = update_query_topics_url, :with =

Re: [Rails] Re: My First Ruby App

2010-06-26 Thread Hassan Schroeder
On Sat, Jun 26, 2010 at 10:35 AM, RailsFan Radha li...@ruby-forum.com wrote:  I have just got a simple db and has been fiddling around this for the past week or so. Aside from the fact that you would have been better off letting Rails create your DB via migrations instead of creating it by

[Rails] erase_redirect_results in Rails 3.0

2010-06-26 Thread Sharkie Landshark
This method is non-existent in Rails 3.0. It is required for responds_to_parent. I try commenting it out but would get AbstractController::DoubleRenderError Thank you, Sharkie -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google

[Rails] Ajax Form with Multipart File Upload in Rails 3.0

2010-06-26 Thread Sharkie Landshark
How would I achieve this? In Rails 2.x, I would use responds_to_parent, but it seems quite unsupported now. What plugins/gems do people use nowadays that would automate 1) targeting form to iframe 2) sending javascript to iframe 3) having the javascript execute another javascript on parent page

[Rails] Re: Re: My First Ruby App

2010-06-26 Thread RailsFan Radha
thanks hassan Sorry , i had not been clear. My intention is to make use of the legacy db(a db which already exists) and see how i could create the CRUD pages without migration. (in this case, please assume this db as legacy db as it exists right now) And assume that it is an existing db ad let

[Rails] Re: Re: My First Ruby App

2010-06-26 Thread RailsFan Radha
hi murali, thanks again! I'll send u an email when i get home. (emails are blocked in this office) and probably this may help others too who are looking for the same prob/solution. here is the situation: Bullet-1) Assume my db is already existing Bullet-2) Assume i have a table called category

[Rails] Re: Redirecting old URLs to new permalinked URLs

2010-06-26 Thread Joe
Bump?! Please Help On 25 June, 19:58, yout...@dev-hq.co.uk wrote: Bump?! Please help. On 24 June, 15:21, Joe j...@dev-hq.co.uk wrote: More problems.. Firstly I don't have an application.rb file to add this into. Secondly, where does my example use a regular expression? and how can I

Re: [Rails] Re: Re: My First Ruby App

2010-06-26 Thread Hassan Schroeder
On Sat, Jun 26, 2010 at 11:56 AM, RailsFan Radha li...@ruby-forum.com wrote: given this scenario, if this is an existing db, how could we create the CRUD pages for this without doing migration. There's an active_scaffold plugin that (I believe) replicates the old 1.x Rails dynamic scaffolding.

Re: [Rails] Re: Redirecting old URLs to new permalinked URLs

2010-06-26 Thread Hassan Schroeder
On Wed, Jun 23, 2010 at 9:51 AM, Joe j...@dev-hq.co.uk wrote: I see code like this used in examples: config.gem 'rack-rewrite', '~ 1.0.0'  require 'rack/rewrite'  config.middleware.insert_before(Rack::Lock, Rack::Rewrite) do    rewrite '/wiki/John_Trupiano', '/john'    r301

[Rails] mongrel cluster number of threads

2010-06-26 Thread Bruno Sousa
Hi, how can I configure mongrel (cluster) to use 2 mongrel server instances with 2 threads each? regards -- Posted via http://www.ruby-forum.com/. -- 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

Re: [Rails] Re: Default Render Action or Help Cleaning Up My View Folder

2010-06-26 Thread Fernando Brito
Maybe you could try before_filter :) But nothing on http://api.rubyonrails.org/classes/ActionController/Layout/ClassMethods.htmlsolved your problem? :S -- Fernando Brito -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this

[Rails] Re: Re: Re: My First Ruby App

2010-06-26 Thread RailsFan Radha
Hassan Schroeder wrote: On Sat, Jun 26, 2010 at 11:56 AM, RailsFan Radha li...@ruby-forum.com wrote: given this scenario, if this is an existing db, how could we create the CRUD pages for this without doing migration. There's an active_scaffold plugin that (I believe) replicates the old

[Rails] rails3 help with query

2010-06-26 Thread AppleII717
No response on another rails3 post (rails3 finders, rails3 gure's and MVC police), but I'll try another one. I added a preference to a golf group score system that is similar to a USGA golf handicap. Lets say I have a table Rounds that contains the attributes score and date and some foreign keys.

[Rails] Re: deploy: First Rails App to shared server

2010-06-26 Thread Ali Imran
I have two hosting accounts, one with godaddy and other with site5.com On Jun 25, 11:37 pm, Mark Kremer m...@without-brains.net wrote: That really depends on your hosting provider, you'll probably need to contact them and ask them about it. If your current hosting provider does not offer

[Rails] Re: deploy: First Rails App to shared server

2010-06-26 Thread Ali Imran
I install locally apache2.. and i have two hosting accounts i can use any one ... i have one with site5.com and other one is godaddy.com... what step i need to take now please help me ... its driving me crazy.. On Jun 26, 12:02 pm, murali dhararao sumud...@gmail.com wrote: Hi , Did you

[Rails] TrainerOnRails is back with Basic HTML and Ruby for Rail courses

2010-06-26 Thread MarcRic
Hi Folks, Just want to share with you the new and improved Trainer On Rails site http://www.traineronrails.com/, and two of courses already available there. Here are the courses ideas: The HTML one was aimed for students that don’t know web development at all. It is an inclusive very first

[Rails] Re: Re: Re: My First Ruby App

2010-06-26 Thread RailsFan Radha
RailsFan Radha wrote: Hassan Schroeder wrote: On Sat, Jun 26, 2010 at 11:56 AM, RailsFan Radha li...@ruby-forum.com wrote: given this scenario, if this is an existing db, how could we create the CRUD pages for this without doing migration. There's an active_scaffold plugin that (I

[Rails] commenting in new.erb template file

2010-06-26 Thread RailsFan Radha
app/views/category/new.erb In this file , i have two line like this !-- plabel for=book_subjectSubject/label: -- !-- %= collection_select(:book,:subject_id,@subjects,:id,:name) %/p -- But, if these two lines are present , i get an error saying you have an unexpected nil error

Re: [Rails] commenting in new.erb template file

2010-06-26 Thread kannav rajeev
well its strange :)) you are Doing exactly ok for comments as i see http://www.w3schools.com/tags/tag_comment.asp You should post this with new username RailsConfusing Radhathat may works..:) On Sun, Jun 27, 2010 at 10:05 AM, RailsFan Radha li...@ruby-forum.comwrote:

Re: [Rails] commenting in new.erb template file

2010-06-26 Thread kannav rajeev
please look at this also http://htmlhelp.com/reference/wilbur/misc/comment.html On Sun, Jun 27, 2010 at 10:13 AM, kannav rajeev rajeevsharm...@gmail.comwrote: well its strange :)) you are Doing exactly ok for comments as i see http://www.w3schools.com/tags/tag_comment.asp You should post

[Rails] Re: Re: Re: My First Ruby App

2010-06-26 Thread RailsFan Radha
RailsFan Radha wrote: RailsFan Radha wrote: Hassan Schroeder wrote: On Sat, Jun 26, 2010 at 11:56 AM, RailsFan Radha li...@ruby-forum.com wrote: given this scenario, if this is an existing db, how could we create the CRUD pages for this without doing migration. There's an

[Rails] Re: Re: Re: My First Ruby App

2010-06-26 Thread RailsFan Radha
RailsFan Radha wrote: RailsFan Radha wrote: RailsFan Radha wrote: Hassan Schroeder wrote: On Sat, Jun 26, 2010 at 11:56 AM, RailsFan Radha li...@ruby-forum.com wrote: given this scenario, if this is an existing db, how could we create the CRUD pages for this without doing migration.

Re: [Rails] commenting in new.erb template file

2010-06-26 Thread Hassan Schroeder
On Sat, Jun 26, 2010 at 9:35 PM, RailsFan Radha li...@ruby-forum.com wrote: !-- plabel for=book_subjectSubject/label: -- !-- %= collection_select(:book,:subject_id,@subjects,:id,:name) %/p -- But, if these two lines are present , i get an error saying you have an unexpected nil error So

Re: [Rails] commenting in new.erb template file

2010-06-26 Thread ruby rails
Hi, I am looking for Matz and Keiju's book is first published, the first Ruby book.Please mail if any one have, Cheers, Sai On Sun, Jun 27, 2010 at 11:02 AM, Hassan Schroeder hassan.schroe...@gmail.com wrote: On Sat, Jun 26, 2010 at 9:35 PM, RailsFan Radha li...@ruby-forum.com wrote: