search for: esquenazi

Displaying 10 results from an estimated 10 matches for "esquenazi".

2008 Apr 16
10
Is Phusion Passenger (mod_rails) good for single app servers
There is a lot of hype over mod_rails, but from my understanding it is more geared for servers with a number of apps on it. The reason it seems that way is how it frees up the memory if an app is stagnant for an extended period. The freeing up of the memory may not be an issue if the application gets a continuous traffic flow. I have a site that I will be putting up in a couple days and am
2007 Dec 28
11
LIKE clause in rails
Hello, I am trying to achieve a search functionality in the following manner i have an table called people which has first_name,last_name,etc... After the user form to search people is submitted i get the params hash as params[:persons]={"first_name"=> "%John%","last_name"=>"%Stevens%"} NOTE : I have changed the params hash to include the %. Now
2007 Dec 14
2
What's the last version of Rails that lets you...
What''s the last version of Rails that lets you do this in your controller. scaffold :post I need it for a set of video tutorials I purchased from lynda.com Thanks! -- 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
2007 Dec 22
1
Backgroundrb Question
If I have a worker and everything set up and I call: MiddleMan.ask_status(:worker => :foo_worker) MiddleMan.ask_status(:worker => :foo_worker) MiddleMan.ask_status(:worker => :foo_worker) three times in quick succession. Will the tasks be queued up and executed as the previous one finishes? Or is this going to ignore the 2 bottom requests? How does this work? Do I absolutely need to
2008 Jun 05
2
Newbie - Is BackgrounDRb compatible on windows ?
I searched online but couldn''t find it. Even BackgrounDRb does not specify platform compatibility. Earlier version of BackgrounDRb ( < 0.2 ) were incompatible with windows. The current version of BackgrounDRb is 1.3. If anybody had any luck running this library on windows machine ? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are
2008 Apr 15
2
Asking for help passing variables with an observe_field
Hi, I have the following observe field: <%= observe_field :session_treatment, :url => { :action => ''retrieve_rate'' }, :with => ''treatment'' %> This passes on the ''treatment'' variable to the action, but I''d like to pass another variable and I''m having a hard time figuring out how to write it. Any help would be
2008 Mar 12
2
2.0 Fixtures with has_many :through ??
hi! did anyone get the new fixtures features (no join table, no ids) for a has_many :through assocation running? I did everything like I saw in a couple of screencasts and tutorials, but they were all using a habtm association - what do I have to change to get it to work with a has_many :through? google didn''t brought any results and a question in the rails forum by someone else with
2007 Dec 27
9
how do you handle recurring tasks
i have several tasks which i need to be executed from time to time .. some every 20 minutes and some only 1 time a day .. you know things like e.g. clearing old sessions, deleting inactive users .. how do you deal with stuff like this? cronjobs? how is your pattern for such things ... thanks in advance -- Posted via http://www.ruby-forum.com/.
2007 Dec 22
8
Rails 2.0 rescue_from
I am trying to use the new Rails 2.0 macro : rescue_from class PostsController < ApplicationController rescue_from ActiveRecord::RecordNotFound, :with => :deny_access ... def show @post = Post.find_by_id(params[:id]) raise ActiveRecord::RecordNotFound if @post.nil? #illegal access ..... end def deny_access respond_to do |format| format.html end end but the
2007 Sep 05
9
Profanity Filter for Rails Application
I am creating an application that allows a user to post messages to a board. I want to be able to filter profanity. For instance if someone types an inappropriate word of 5 characters I want it to read "#?@#@" or whatever. Ideally, I would be able to install a rails plugin or ruby gem and then simply write Code : - fold - unfold --> message_text.hide_profanity! <-- and that