[Rails] Listing for OpenShift PaaS on rubynrails.org/deploy

2011-05-31 Thread Jimmy G
Hello, Can some one on this list point me to the right person for possibly getting OpenShift [http://www.openshift.com] listed on the /deploy page? OpenShift Express is a free as in beer PaaS from Red Hat for deploying Ruby apps. Thanks, Jimmy Guerrero PaaS Dude OpenShift | PaaS by Red Hat

Re: [Rails] Thin vs unicorn vs passenger

2011-05-31 Thread Peter De Berdt
On 30 May 2011, at 20:12, Yiannis wrote: I bought a new server and I was wondering what application server is the best choice for a typical web application with rails. I've thought for a long time that the best choice was apache/nginx and phusion passenger but nowadays I am hearing a lot

[Rails] issue in deploying app in local

2011-05-31 Thread loganathan sellappa
Hi All, I want to run my application with domain name rather than local host ,so i followed the below steps,but i'm having unable to connect error ,can any one help me on this. gem install passenger passenger-install-apache2-module *My rails app location: /var/www/rails cd

Re: [Rails] issue in deploying app in local

2011-05-31 Thread Peter De Berdt
On 31 May 2011, at 10:49, loganathan sellappa wrote: VirtualHost 127.0.0.1:8081 #ServerAdmin webmas...@myapp.com ServerName m-lo-lo.com DocumentRoot /root/var/www/rails/public/ vi port.conf Listen 8081 hit my browser with http://m-lo-lo.com didnt have anything . Well, it seems

[Rails] Minimize Pop-up

2011-05-31 Thread Chandu80
Hello All, I have a pop-up window with a close button and a minimize button,I want to know if there is a way of writing an action for minimizing the pop-up using Rails or does javascript need to be used here? On minimizing ,I want the pop-up to appear on the taskbar and on clicking the taskbar the

[Rails] Re: Thin vs unicorn vs passenger

2011-05-31 Thread Yiannis
Thank you very much for your answer! I have a better understanding now about the new servers. :) Currently ruby enterprise edition is in 1.8.7 and I prefer to use 1.9.2. My problem with the passenger is with the slow initial server response time. I have tried many things (including all the

[Rails] Recaptcha Problems

2011-05-31 Thread Hafiz Badrie Lubis
Hi guys, is anyone can help me with this thing? Actually, I have used this for a couple weeks and it doesn't matter. Somehow, it suddenly gives me trouble. My site used page cache, but I have removed it. I don't know what is wrong with it, I have entered the correct code but it still not

Re: [Rails] Re: Thin vs unicorn vs passenger

2011-05-31 Thread Peter De Berdt
On 31 May 2011, at 13:19, Yiannis wrote: Currently ruby enterprise edition is in 1.8.7 and I prefer to use 1.9.2. My problem with the passenger is with the slow initial server response time. I have tried many things (including all the recommendations from here

[Rails] Re: Encoding issue (I think): All apostrophes have changed to these odd characters after a database switch

2011-05-31 Thread daze
So... the old database used what type of encoding? latin1? And the new one uses utf8? Is it a problem if some articles were already cleaned by doing a search and replace, e.g. swapping all ’ for its corresponding proper symbol? Really appreciate the help! On May 29, 2:19 pm, Frederick

[Rails] Question on Robert Half agency and contract

2011-05-31 Thread Jedrin
In order to work with Robert Half Associates, they want me to sign this thing that is about 4 pages and says Hourly Employment Agreement. The first part says Consultant agrees to provide, on an as needed basis, such IT services required by Robert Half from time to time .. work provided

Re: [Rails] Question on Robert Half agency and contract

2011-05-31 Thread Michael Pavling
On 31 May 2011 13:26, Jedrin jrubia...@gmail.com wrote: My mother's advice is if I am not sure, then don't sign it. I am curious what other developers might say or what their experience might have been with this agency ? Does your mother give any advice about off-topic postings to mailing

Re: [Rails] Minimize Pop-up

2011-05-31 Thread Bryan Crossland
Sent from my iPhone On May 31, 2011, at 5:33 AM, Chandu80 chandu.she...@gmail.com wrote: Hello All, I have a pop-up window with a close button and a minimize button,I want to know if there is a way of writing an action for minimizing the pop-up using Rails or does javascript need to be used

Re: [Rails] issue in deploying app in local

2011-05-31 Thread Bryan Crossland
Sent from my iPhone On May 31, 2011, at 3:49 AM, loganathan sellappa loganathan...@gmail.com wrote: Hi All, I want to run my application with domain name rather than local host ,so i followed the below steps,but i'm having unable to connect error ,can any one help me on this. gem

Re: [Rails] issue in deploying app in local

2011-05-31 Thread Michael Pavling
On 31 May 2011 14:22, Bryan Crossland bacrossl...@gmail.com wrote: On May 31, 2011, at 3:49 AM, loganathan sellappa loganathan...@gmail.com wrote: sudo vi /etc/hosts 127.0.0.1    m-lo-lo.com    p233 That domain is not registered/does not exist. You would need to purchase the domain and

[Rails] Re: Encoding issue (I think): All apostrophes have changed to these odd characters after a database switch

2011-05-31 Thread Frederick Cheung
On May 31, 1:01 pm, daze dmonopol...@gmail.com wrote: So... the old database used what type of encoding?  latin1?  And the new one uses utf8? It's your database, you tell me! Is it a problem if some articles were already cleaned by doing a search and replace, e.g. swapping all ’ for its

[Rails] Seg fault with Ruby 1.9.2 p180 and Rails 3.1 rc1

2011-05-31 Thread Peter Bell
Hi All, I've got a very simple OmniAuth install. I've registered the app with facebook and the login works fine. When Facebook runs it's callback and tries to pull up localhost:3000/auth/facebook/callback, I get a page can't be displayed in my browser and in the terminal window where I'm running

[Rails] Re: Seg fault with Ruby 1.9.2 p180 and Rails 3.1 rc1

2011-05-31 Thread Peter Bell
Just in case anyone runs into the same issue, it's documented here: http://redmine.ruby-lang.org/issues/4611 For me, removing postgres solved the problem. Had planned on moving to MongoDB anyway . . . Best Wishes, Peter Begin forwarded message: From: Peter Bell pe...@pbell.com Date: May 31,

[Rails] Re: Question on Robert Half agency and contract

2011-05-31 Thread Jedrin
I am in the USA. I tend to target mostly Rails work. Robert Half had called me and said that they had been getting in Rails contracts and wanted to talk to me. Often times they do not get so much rails work. I took it as a possible sign of a pickup in rails. I went to their office and met

Re: [Rails] Calendars in Rails

2011-05-31 Thread David Kahn
On Tue, May 31, 2011 at 12:18 AM, Piter Fcbk piter.f...@gmail.com wrote: Hi all, I'm currently in the need to implement a calendar in rails. It should be able to present a year, month and day view. The events in these 3 views should be able to be opened, on click, to view the information

[Rails] how can I get feedback on plugin I wrote on github ?

2011-05-31 Thread Jedrin
I am looking for a job and had talked to a company. The fellow there encouraged me to make available some sort of code sample of my work. I took some functionality out of a website I had worked on a few years ago and created a rails plugin which is now on github here:

[Rails] Re: Question on Robert Half agency and contract

2011-05-31 Thread Jedrin
Robert Half does have some IT postings for Ruby or related: http://www.indeed.com/jobs?q=rubyl=Boston,+MArbc=Robert+Half+Technologyjcid=8295f0911ec08bde -- 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: Question on Robert Half agency and contract

2011-05-31 Thread Jason Fleetwood-Boldt
Jedrin, Your topic is totally off-post, but I will give you my 2¢ anyway. I was placed at a company 3 years ago by Robert Half. I found them to be the most reputable agency out there, and I had very good experiences with them. (They placed me for a PHP job.) Almost all recruiters I've met are

[Rails] Re: Question on Robert Half agency and contract

2011-05-31 Thread Jedrin
Jason, Sorry if this is an off topic post. I don't frequent alot of IT related groups and feel somewhat comfortable what people from the Rails group might have to say as I have posted on this group a number of times etc .. I am not sure I have time for a job counselor or a lawyer on this.

Re: [Rails] Re: Question on Robert Half agency and contract

2011-05-31 Thread Jason Fleetwood-Boldt
I was just saying I had good experiences with them and found them more reputable than the rest, I do not have any affiliation with them at all. (In fact I left that job about a year later). Your best best is probably going out and interviewing without a recruiter, but that's harder and takes

[Rails] Re: Question on Robert Half agency and contract

2011-05-31 Thread Jedrin
Your best best is probably going out and interviewing without a recruiter, but that's harder and takes more time. I have tried to apply to jobs that are advertised directly by companies. Sometimes if a job sounds good and it's advertised by an agency, I will still apply. Once an agency

[Rails] Script to see foss jobs from terminal

2011-05-31 Thread Sathia S
Hi geeks, I wrote a ruby script , By using this, we can see fossjobs from terminal that was posted in fossjobs.in http://fossjobs.in/ Link of that script was below. Please see that and give your suggestion http://sathia27.wordpress.com/2011/05/30/update-foss-job-script/ Using this we can,

Re: [Rails] Re: Question on Robert Half agency and contract

2011-05-31 Thread Jason Fleetwood-Boldt
On May 31, 2011, at 12:21 PM, Jedrin wrote: If I sign the contract and send it in to them, they may obviously call me with job opportunities. If I don't send the contract in, I may neve hear from them again or I would have to deal with the contract issue the next time they try to call me.

Re: [Rails] Re: Seg fault with Ruby 1.9.2 p180 and Rails 3.1 rc1

2011-05-31 Thread Conrad Taylor
On Tue, May 31, 2011 at 8:05 AM, Peter Bell pe...@pbell.com wrote: Just in case anyone runs into the same issue, it's documented here: http://redmine.ruby-lang.org/issues/4611 For me, removing postgres solved the problem. Had planned on moving to MongoDB anyway . . . Best Wishes, Peter

[Rails] How do you test a module that extends ActiveSupport::Concern?

2011-05-31 Thread egervari
I have a module that extends ActiveSupport::Concern. Here is the `included` block: included do after_save :save_tags has_many :taggings, :as = :taggable has_many :tags, :through = :taggings end How can I stub out these calls? I have tried a few ways, but Ruby complains

Re: [Rails] rails habtm checkboxes with jquerymobile

2011-05-31 Thread Federico Rota
Well, I'm a newbie in rails and habtm worked just fine for my simple application. Jason you pointed me in the right direction and after a quick search I did it. My working code is the following (in case somebody needs it): %= check_box_tag foo[bar_ids][][#{bar.id}],

[Rails] Re: Question on Robert Half agency and contract

2011-05-31 Thread egervari
On May 31, 11:21 am, Jedrin jrubia...@gmail.com wrote:  I am in the USA. I tend to target mostly Rails work.   Robert Half had called me and said that they had been getting in Rails contracts and wanted to talk to me. Often times they do not get so much rails work. I took it as a possible

Re: [Rails] rails habtm checkboxes with jquerymobile

2011-05-31 Thread Federico Rota
EDIT: this code in order to have a successful update: %= check_box_tag foo[foo_ids][], bar.id, @foo.bars.include?(bar), :id = bar.id % label for=%= bar.id %%= bar.Name %/label On Tue, May 31, 2011 at 8:36 PM, Federico Rota

[Rails] Re: Encoding issue (I think): All apostrophes have changed to these odd characters after a database switch

2011-05-31 Thread daze
On May 31, 9:41 am, Frederick Cheung frederick.che...@gmail.com wrote: Is it a problem if some articles were already cleaned by doing a search and replace, e.g. swapping all ’ for its corresponding proper symbol? Depends. if you have replaced with pure ascii then it's not a problem. if

Re: [Rails] Re: Encoding issue (I think): All apostrophes have changed to these odd characters after a database switch

2011-05-31 Thread Walter Davis
If the browser is using a typeface (font) that doesn't include the precise character that your page encoding and HTML require, then you won't see that character. The glyph you describe sounds like the missing glyph character, and that's why I'm guessing you're seeing it. Another layer to

[Rails] is there something peculiar about a render :update block ?

2011-05-31 Thread Jedrin
When doing RJS stuff of the form below, I seem to recall unexpected behavoir where if I had many method calls within that block things didn't work as expected and variables would not have values I expected. I know I am not being very specific and I don't have an example. I am trying to refactor

[Rails] trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Jedrin
I have a section of controller code that tries to style a page with moving text and images. This used to work a few years ago, but I have not had the site working for awhile and I am trying to resurrect it. Below is some of the RJS code. The z-index and font-size does not seem to work as far as I

[Rails] Re: Encoding issue (I think): All apostrophes have changed to these odd characters after a database switch

2011-05-31 Thread daze
On May 31, 4:02 pm, Walter Davis wa...@wdstudio.com wrote: If the browser is using a typeface (font) that doesn't include the   precise character that your page encoding and HTML require, then you   won't see that character. The glyph you describe sounds like the   missing glyph character, and

Re: [Rails] trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Walter Davis
On May 31, 2011, at 6:22 PM, Jedrin wrote: I have a section of controller code that tries to style a page with moving text and images. This used to work a few years ago, but I have not had the site working for awhile and I am trying to resurrect it. Below is some of the RJS code. The z-index

Re: [Rails] trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Bill Walton
Hi Jedrin, On Tue, May 31, 2011 at 5:22 PM, Jedrin jrubia...@gmail.com wrote:  I have a section of controller code that tries to style a page with moving text and images. This used to work a few years ago, but I have not had the site working for awhile and I am trying to resurrect it. Below

Re: [Rails] Re: Encoding issue (I think): All apostrophes have changed to these odd characters after a database switch

2011-05-31 Thread Walter Davis
The missing glyph character is a feature of many different fonts -- it means literally, I don't have any glyph by that name in my table. The way you get rid of it is by providing an encoding and substitution escapes that convert the wide, wild world of Unicode typography into something

Re: [Rails] is there something peculiar about a render :update block ?

2011-05-31 Thread Bill Walton
Hi Jedrin, On Tue, May 31, 2011 at 5:11 PM, Jedrin jrubia...@gmail.com wrote:  When doing RJS stuff of the form below, I seem to recall unexpected behavoir where if I had many method calls within that block things didn't work as expected and variables would not have values I expected. I know

Re: [Rails] trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Walter Davis
On May 31, 2011, at 6:32 PM, Bill Walton wrote: I believe most current browsers will give precedence to the stylesheet over inline styling. Sorry, I disagree with this. The stylesheet is given the same priority as ever, in keeping with the idea of weight inherent to the cascade. The

[Rails] Re: trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Jedrin
I tried this which doesn't seem to do anything either: page[k].set_style :z_index = 20 I believe that the following syntax is valid: page[k].set_style :'z-index' = 20 I tried this: C:\Users\Laurenceirb irb(main):001:0 irb(main):002:0* irb(main):003:0* x = :'z-index' = :z-index

Re: [Rails] Re: trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Walter Davis
On May 31, 2011, at 6:58 PM, Jedrin wrote: I tried this which doesn't seem to do anything either: page[k].set_style :z_index = 20 I believe that the following syntax is valid: page[k].set_style :'z-index' = 20 I tried this: C:\Users\Laurenceirb irb(main):001:0 irb(main):002:0*

[Rails] Re: trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Jedrin
I tried this and I seem to still have the same exact problem: page[k].set_style({:position = 'absolute', :left = (pidx * 300), :top = (1 * (topidx * 200) + 80), :'z-index' = 10}) A side note, is that if I do the following without the parens, I get a syntax error

Re: [Rails] Re: trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Walter Davis
You can simply view source in a browser. Furthermore, Safari or Firefox (with Firebug) can show you endless detail about the script on your page. The shortcut is the same: Control (or right) click on the element, and Inspect Element. That will show you the actual rendered properties, not

Re: [Rails] trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Bill Walton
On Tue, May 31, 2011 at 5:48 PM, Walter Davis wa...@wdstudio.com wrote: On May 31, 2011, at 6:32 PM, Bill Walton wrote:  I believe most current browsers will give precedence to the stylesheet over inline styling. Sorry, I disagree with this. The stylesheet is given the same priority as

Re: [Rails] Re: trying to get z-index to work - CSS styling with RJS

2011-05-31 Thread Bill Walton
On Tue, May 31, 2011 at 6:25 PM, Jedrin jrubia...@gmail.com wrote: I tried this and I seem to still have the same exact problem: Another resource that's incredibly helpful, in case you don't already subscribe, is the css-discuss list. It's run by Eric Meyer and is a

[Rails] calling render with query string

2011-05-31 Thread Herman
Hi all, In one of my create action in the controller, I am catching a error and trying to show errors on the same page. It was all good when I called render action = 'new'. However, I also wanted to append a query string for consistence purposes. How do I do that with render? For now, I can

[Rails] V2.3.5 - V3.0.7 problem. Page state of select list not being preserved

2011-05-31 Thread j...@via.net
This works find on 2.3.5. I have a form with a select list. Selecting a value (it's a search type), typing in a text value into a text field, then submitting the form (which causes a an SQL search and a redispay of the initial page with the selected records. 2.3.5 preserved the values of the