Re: [Rails] Help Regarding Amazon S3 and Career Wave along with Rspec

2011-03-11 Thread nishant nigam
Hey Bryan i have checked the link which you have given but i am not getting it, like the code i have is already created in Career Wave and i need to change that code and made up for Amazon S3 and have to write the code for rspec On 11 March 2011 14:02, Bryan Crossland wrote: > On Fri, Mar 11, 2

Re: [Rails] netbeans 6.0.1 +ruby on rails + mysql 5.

2011-03-11 Thread salim mandrekar
ok.. -- 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 to rubyonrails-talk+unsubscr...@googlegroups.com. For more options,

Re: [Rails] netbeans 6.0.1 +ruby on rails + mysql 5.

2011-03-11 Thread Frederick Cheung
On 12 Mar 2011, at 07:28, "Er.SALIM MANDREKAR" wrote: > i get the following error when i click on project name ->generate in netbeans > IDE. help please.. > Please don't post the same message across 4 different threads, all at the same time. Fred. > > java.lang.NullPointerException >

[Rails] RGhost encoding problem

2011-03-11 Thread Fidel Viegas
Hi everyone, I have been using RGhost to generate pdfs, but unfortunately I am having problems with how characters are displayed. I have followed the manual and everything I have tried does not solve my problem. I am using Rails 3 with MySQL and I the character encoding is utf8. My operating s

Re: [Rails] Re: RUBY ON RAILS SUPPORTS MS SQL SERVER 2000?

2011-03-11 Thread Er.SALIM MANDREKAR
i get the following error when i click on project name ->generate in netbeans IDE. help please.. j*ava.lang.NullPointerException* * at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.getSelectedGenerator(GeneratorPanel.java:136) * * at org.netbeans.modules.ruby.railsprojects.GeneratorP

Re: [Rails] netbeans6.0 + ruby on rails + mysql5

2011-03-11 Thread Er.SALIM MANDREKAR
i get the following error when i click on project name ->generate in netbeans IDE. help please.. j*ava.lang.NullPointerException* * at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.getSelectedGenerator(GeneratorPanel.java:136) * * at org.netbeans.modules.ruby.railsprojects.GeneratorP

[Rails] netbeans 6.0.1 +ruby on rails + mysql 5.

2011-03-11 Thread Er.SALIM MANDREKAR
i get the following error when i click on project name ->generate in netbeans IDE. help please.. j*ava.lang.NullPointerException* * at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.getSelectedGenerator(GeneratorPanel.java:136) * * at org.netbeans.modules.ruby.railsprojects.GeneratorP

Re: [Rails] Jruby script / generate jdbc in NetBeans?!?!?

2011-03-11 Thread Er.SALIM MANDREKAR
i get the following error when i click on project name ->generate in netbeans IDE. help please.. j*ava.lang.NullPointerException* * at org.netbeans.modules.ruby.railsprojects.GeneratorPanel.getSelectedGenerator(GeneratorPanel.java:136) * * at org.netbeans.modules.ruby.railsprojects.GeneratorP

Re: [Rails] netbeans6.0 + ruby on rails + mysql5

2011-03-11 Thread jason white
railstutorial.org railscast.com On Fri, Mar 11, 2011 at 9:53 PM, Er.SALIM MANDREKAR wrote: > hey hi everyone, > > after struggling a lot with MS SQL SERVER 2000 FINALLY IM NOW USING >  netbeans6.0 + ruby on rails + mysql5.. > can anyone provide me the best tutorials so that i can create the pro

[Rails] netbeans6.0 + ruby on rails + mysql5

2011-03-11 Thread Er.SALIM MANDREKAR
hey hi everyone, after struggling a lot with MS SQL SERVER 2000 FINALLY IM NOW USING *netbeans6.0 + ruby on rails + mysql5..* * * *can anyone provide me the best tutorials so that i can create the project n see its working..* * * *thanks * * * -- You received this message because you are su

Re: [Rails] Re: Testing for boolean values in a scope isn't portable?

2011-03-11 Thread Philip Hallstrom
>> So, after more trial and error, this is the portable version. >> >> scope :past_due, >>where('(requested_start_date < ?) AND (complete = ?)', >> Date.today, true). >>order('requested_start_date ASC') >> >> I'd still like to understand *why* this is more portable, though, if >>

Re: [Rails] Re: A file-upload suddenly seems to be nil

2011-03-11 Thread Jazmin
Create the upload by calling Upload.create after that you can do @article.uploads << uploadyoujustcreated that would create the association On Mar 11, 2011 5:50 PM, "Frederick Cheung" wrote: > > > On Mar 11, 11:44 pm, Luke wrote: >> "file"=>#> > > So you're probably passing the wrong thing to foo

[Rails] Re: Testing for boolean values in a scope isn't portable?

2011-03-11 Thread Todd A. Jacobs
On Mar 11, 4:31 pm, "Todd A. Jacobs" wrote: > So, after more trial and error, this is the portable version. > >   scope :past_due, >         where('(requested_start_date < ?) AND (complete = ?)', > Date.today, true). >         order('requested_start_date ASC') > > I'd still like to understand *why

[Rails] Re: Testing for boolean values in a scope isn't portable?

2011-03-11 Thread Todd A. Jacobs
So, after more trial and error, this is the portable version. scope :past_due, where('(requested_start_date < ?) AND (complete = ?)', Date.today, true). order('requested_start_date ASC') I'd still like to understand *why* this is more portable, though, if anybody knows the answe

[Rails] Testing for boolean values in a scope isn't portable?

2011-03-11 Thread Todd A. Jacobs
The following scope works on sqlite3 in development, but fails in production on PostgreSQL: scope :past_due, where('requested_start_date < ? AND complete IS NOT ?', Date.today, true). order('requested_start_date ASC') 2011-03-11T15:51:33-08:00 app[web.1]: ActiveRecord::Statement

[Rails] Re: Multiple variables for respond_with?

2011-03-11 Thread Todd A. Jacobs
On Mar 11, 3:04 pm, Phil Crissman wrote: > "Template is missing" should not be related to the multiple resources > (afaik). Do you have an index template? Yes, I have an index template. > I'm curious why you're using respond_with at all; the instance variables > will all be available in the vie

[Rails] Re: A file-upload suddenly seems to be nil

2011-03-11 Thread Frederick Cheung
On Mar 11, 11:44 pm, Luke wrote: > "file"=># So you're probably passing the wrong thing to foo.uploads.create. Unless you've overridden all sorts of crazy internal active record stuff, rails is expecting the argument to that create method to be a hash of attribute names to attribute values, whe

[Rails] Re: Returning count from named scope

2011-03-11 Thread Frederick Cheung
On Mar 11, 10:50 pm, "Todd A. Jacobs" wrote: > Sorry if this is a duplicate post, but Google Groups is having issues > again. :( > > I have the following named scope in a Rails 3.0.5 model: > >   scope :past_due, >         where('NOT complete AND requested_start_date < ?', > Date.today). >      

[Rails] Re: A file-upload suddenly seems to be nil

2011-03-11 Thread Luke
"file"=>#"Screenshot 2011-02-12 um 12.48.33.png", "authenticity_token"=>"PUhOOUAHLx+FUnuMI9jY7zwXXxId68v06MbyiImkaSM=", "file"=>#>, "id"=>"1"} -- 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 rubyon

Re: [Rails] Returning count from named scope

2011-03-11 Thread Phil Crissman
Phil On Fri, Mar 11, 2011 at 4:50 PM, Todd A. Jacobs < codegnome.consult...@gmail.com> wrote: > Sorry if this is a duplicate post, but Google Groups is having issues > again. :( > > I have the following named scope in a Rails 3.0.5 model: > > scope :past_due, >where('NOT complete AND re

Re: [Rails] A file-upload suddenly seems to be nil

2011-03-11 Thread Luke
Hmmm, this does work, at least *that* error doesn't occur anymore. But now I'm getting the error Attempt to call private method where I call create. Also calling create on an instance of an upload doesn't seem right to (n00by) me. Is that the correct way to add a new instance to the *collecti

[Rails] Re: A file-upload suddenly seems to be nil

2011-03-11 Thread Frederick Cheung
On Mar 11, 10:33 pm, Luke wrote: > > where line 95 is @article.uploads.create(params[:file]) > > if I remove the parameter no errors get thrown. But the console tells me > params[:file] DOES exists and has proper values. Also params[:file] worked > great before I used the has_many association.

Re: [Rails] Multiple variables for respond_with?

2011-03-11 Thread Phil Crissman
Phil On Fri, Mar 11, 2011 at 4:55 PM, Todd A. Jacobs < codegnome.consult...@gmail.com> wrote: > I have the following in a Rails 3.0.5 controller: > > respond_to :html, :xml, :json > def index >@open_jobs = Job.incomplete >@open_jobs_count = @open_jobs.count > >@late_jobs = Job.past

Re: [Rails] A file-upload suddenly seems to be nil

2011-03-11 Thread Bryan Crossland
On Fri, Mar 11, 2011 at 4:33 PM, Luke wrote: > Hi there, > > I posted this issue > at > the carrierwave-group, but I'm beginning to think this rather is a > rails-issue than a problem with carrierwave. The problem's this: >

[Rails] Multiple variables for respond_with?

2011-03-11 Thread Todd A. Jacobs
I have the following in a Rails 3.0.5 controller: respond_to :html, :xml, :json def index @open_jobs = Job.incomplete @open_jobs_count = @open_jobs.count @late_jobs = Job.past_due @late_jobs_count = @late_jobs.count end However, adding this to the index action doesn't work:

[Rails] Returning count from named scope

2011-03-11 Thread Todd A. Jacobs
Sorry if this is a duplicate post, but Google Groups is having issues again. :( I have the following named scope in a Rails 3.0.5 model: scope :past_due, where('NOT complete AND requested_start_date < ?', Date.today). order('requested_start_date ASC') and I'd like to have a nam

[Rails] A file-upload suddenly seems to be nil

2011-03-11 Thread Luke
Hi there, I posted this issue at the carrierwave-group, but I'm beginning to think this rather is a rails-issue than a problem with carrierwave. The problem's this: I have 2 models, 'article' and 'upload'. article has_many

Re: [Rails] Re: How to hide parts of Ruby source code

2011-03-11 Thread Peter Bell
On Mar 11, 2011, at 5:25 PM, Walter Lee Davis wrote: > We tried this whole offshore thing in the late 90s. and found that the money > saved on labor was more than eaten back up by longer production schedules and > additional layers of communication. Not worth it. Been my experience too. Intere

Re: [Rails] Re: How to hide parts of Ruby source code

2011-03-11 Thread Walter Lee Davis
We tried this whole offshore thing in the late 90s. and found that the money saved on labor was more than eaten back up by longer production schedules and additional layers of communication. Not worth it. Walter On Mar 11, 2011, at 5:17 PM, Bryan Crossland wrote: If you find someone in your

Re: [Rails] Re: How to hide parts of Ruby source code

2011-03-11 Thread Bryan Crossland
> I am in the U.S. I am afraid that a non-disclosure or non-compete agreement with him will be difficult and expensive to enforce outside the U.S. under a developing country's legal system. You could save you're self a lot of hassle and just hire a worker in the U.S. where you will be able to en

[Rails] Re: How to hide parts of Ruby source code

2011-03-11 Thread Vincent P
Thanks Peter and Culley. What about something like RubyEncoder? If I would like my overseas programmer to work on the views and controllers (just the UI), can I encode all the model files and give them to him? Will the automatic test scripts continue to work with the encoded model files? Using s

Re: [Rails] Help Regarding Amazon S3 and Career Wave along with Rspec

2011-03-11 Thread Bryan Crossland
On Fri, Mar 11, 2011 at 12:03 PM, nishant wrote: > hello Guys, > i would like to know some details regarding how to implement AMAZON S3 > with Career Wave in Rails 3.0.3 and i have to write Rspec test Cases > as well . Actually i already have code which is implemented with > Career Wave its a ima

Re: [Rails] How to hide parts of Ruby source code

2011-03-11 Thread Peter Bell
On Mar 11, 2011, at 4:13 PM, Culley Smith wrote: > If you're using git and github, I believe adding files/directories to your > .gitignore file should do what you want. It would hide a part of a file, > however, but the entire file itself. But then the tests and the app may not work. You'd ha

Re: [Rails] How to hide parts of Ruby source code

2011-03-11 Thread Culley Smith
Sorry, I meant to say it would NOT hide part of a file, but the entire file itself. CS On Fri, Mar 11, 2011 at 3:13 PM, Culley Smith wrote: > If you're using git and github, I believe adding files/directories to your > .gitignore file should do what you want. It would hide a part of a file, > ho

Re: [Rails] How to hide parts of Ruby source code

2011-03-11 Thread Peter Bell
On Mar 11, 2011, at 4:06 PM, Vincent P wrote: > Hi, > How can I hide parts of Ruby source code from another programmer > working on the same project? Ideally, don't. It's a lousy way of working. Understand the business drivers, but it's hard enough to work with developers that you trust. That s

Re: [Rails] How to hide parts of Ruby source code

2011-03-11 Thread Culley Smith
If you're using git and github, I believe adding files/directories to your .gitignore file should do what you want. It would hide a part of a file, however, but the entire file itself. Thanks, Culley On Fri, Mar 11, 2011 at 3:06 PM, Vincent P wrote: > Hi, > > How can I hide parts of Ruby sourc

[Rails] How to hide parts of Ruby source code

2011-03-11 Thread Vincent P
Hi, How can I hide parts of Ruby source code from another programmer working on the same project? I plan to outsource development of parts of my RoR web site to an overseas programmer. For example, I would like him to work on only certain views, controllers or models, or certain features such as

[Rails] Re: I'm failing to create an instance of an has_many-associated model

2011-03-11 Thread Luke
Ok, Hates_ from the IRC helped me. It was params[:file] that was nil -- 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 to ru

[Rails] [JOBS] Senior Rails Developer Contract Available in CA

2011-03-11 Thread Christine Rossiter
I am not sure if the timing, opportunity, or location is right, but we are currently seeking a Senior Rails Developer for a 6+ month contract with our direct end client in Berkeley, CA. If you, or anyone you know, are interested in this contract please forward your resume, all- inclusive rate, and

[Rails] I'm failing to create an instance of an has_many-associated model

2011-03-11 Thread Luke
Hi, I'm pretty much of a rails newbie and ss the title says I'm failing at very basic things. Anyway. I have 2 models 'article' and 'upload'. Article has_many :uploads Now I'm trying to create an instance of upload in an article in my articles_controller like this: class ArticlesController <

Re: [Rails] RoR failure

2011-03-11 Thread Marcin Sporysz
Use rvm method as mentioned boefore, its the easiest way to get whole "toolchain" up and running - forget about GUI installers included in NetBeans and Aptana (especialy the second, barely anything working in there :P) so: -command line tools for managing gems -IDE for actual coding (NetBeans is i

[Rails] Re: Stack level too deep problem

2011-03-11 Thread Matt Jones
On Mar 10, 2:46 pm, Mo Al wrote: > Hi > > I am getting a Stack level too deep error when i try creating a new > critical process object: > > here is the code: > > class Role < ActiveRecord::Base >   has_many :authorizations >   has_many :critical_processes, :through => :authorizations >   has_ma

[Rails] OpenID for Rails 3 installation and implementation howto

2011-03-11 Thread Kivi
Hi, Is there already an updated instructions to install and implement OpenID for RoR application? All the ones I was able to find are outdated and therefore pretty difficult to implement for a beginner such as myself. Thank you, Kristjan -- You received this message because you are subscribed

[Rails] Help Regarding Amazon S3 and Career Wave along with Rspec

2011-03-11 Thread nishant
hello Guys, i would like to know some details regarding how to implement AMAZON S3 with Career Wave in Rails 3.0.3 and i have to write Rspec test Cases as well . Actually i already have code which is implemented with Career Wave its a image uploading code and i need to change that code on AMAZON S3

Re: [Rails] Rails 2.3 basic routing question

2011-03-11 Thread Walter Lee Davis
Here's what I've tried so far, without success: map.connect '/yes/:token', :controller => 'users', :action => 'confirmation', :invitation_token => :token map.connect '/yes/:invitation_token', :controller => 'users', :action => 'confirmation' I tried these both after the map.devise_for

[Rails] Re: Collection add saves to the database twice

2011-03-11 Thread danm
I do have firebug enabled in Firefox - it just wasn't showing any issues. The W3C validator did the trick. It turns out that I was missing a single ">" on the end of a tag. It was missing on the base page that I was refreshing over and over again with AJAX, so all of my AJAX calls were impacted

[Rails] Rails 2.3 basic routing question

2011-03-11 Thread Walter Lee Davis
I'd like to shorten up a confirmation link so that users won't have text-wrapping issues in their e-mail clients. My links look like this (using Devise confirmable): http://example.example.com/users/invitation/accept?invitation_token=4O-R8B9XbJdB1OIa2J27 and I'd like to make them more like

Re: [Rails] Re: Problem with making Rails Web App - Netbeans IDE

2011-03-11 Thread Michael Pavling
On 11 March 2011 15:36, Superpelican X. wrote: > Could you explain to me what you mean with 'do everything in the > terminal'. Use the command prompt to manage your application. > And give a good link for beginners. http://guides.rubyonrails.org/getting_started.html -- You received this messa

[Rails] Re: Problem with making Rails Web App - Netbeans IDE

2011-03-11 Thread Superpelican X.
Could you explain to me what you mean with 'do everything in the terminal'. And give a good link for beginners. -- 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

Re: [Rails] Make client download and save files without showing file dialog box

2011-03-11 Thread Michael Pavling
On 11 March 2011 15:22, gs84 wrote: > How can i send data or file to client and force it to automatically > download and save it in specified folder without showing file dialog > box (Open / Save option) ? By writing a web browser that breaks all standards and conventions, then tricking loads of

Re: [Rails] Make client download and save files without showing file dialog box

2011-03-11 Thread Walter Lee Davis
On Mar 11, 2011, at 10:22 AM, gs84 wrote: Hi, How can i send data or file to client and force it to automatically download and save it in specified folder without showing file dialog box (Open / Save option) ? Thanks in advance for your help. Browsers don't work that way, for very excellent

Re: [Rails] Re: Using Rails for consuming a web service

2011-03-11 Thread Michael Pavling
On 11 March 2011 15:01, Sebastian wrote: > Yes that is exactly what I want. > > OK , I copied my file in the models folder and I guess I need to > create the form in my view with a "form_tag", or? Or do I need the > "form_for"? > > My problem is that I don't really know what I have to put in the >

Re: [Rails] Make client download and save files without showing file dialog box

2011-03-11 Thread Colin Law
On 11 March 2011 15:22, gs84 wrote: > Hi, > > How can i send data or file to client and force it to automatically > download and save it in specified folder without showing file dialog > box (Open / Save option) ? I hope you can't. It would be a serious browser security flaw if you could. Would

Re: [Rails] Re: Using Rails for consuming a web service

2011-03-11 Thread Bryan Crossland
On Fri, Mar 11, 2011 at 9:01 AM, Sebastian wrote: > Yes that is exactly what I want. > > OK , I copied my file in the models folder and I guess I need to > create the form in my view with a "form_tag", or? Or do I need the > "form_for"? > > My problem is that I don't really know what I have to put

Re: [Rails] Add params to redirect_to

2011-03-11 Thread Colin Law
On 11 March 2011 15:13, Paul Bergstrom wrote: > How can I add incoming params, from a request.post, in a redirect_to? > Something like: > > redirect_to :action => 'new', params[:user] You need to specify what it is that you want to set to params[:user], so I guess you want something like redirect

[Rails] Make client download and save files without showing file dialog box

2011-03-11 Thread gs84
Hi, How can i send data or file to client and force it to automatically download and save it in specified folder without showing file dialog box (Open / Save option) ? Thanks in advance for your help. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

Re: [Rails] Problem with Redmine

2011-03-11 Thread Michael Pavling
On 11 March 2011 14:52, Bryan Crossland wrote: > You are going to have to rework your code > > If you are the author of the code that uses that table then you have > some work ahead of you. If you are not, then you need to send it back > to your developers explaining that the table name is too lon

[Rails] Add params to redirect_to

2011-03-11 Thread Paul Bergstrom
How can I add incoming params, from a request.post, in a redirect_to? Something like: redirect_to :action => 'new', params[:user] -- 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

[Rails] Re: Using Rails for consuming a web service

2011-03-11 Thread Sebastian
Yes that is exactly what I want. OK , I copied my file in the models folder and I guess I need to create the form in my view with a "form_tag", or? Or do I need the "form_for"? My problem is that I don't really know what I have to put in the controller and my view (form) to call my model? Can yo

Re: [Rails] Problem with Redmine

2011-03-11 Thread Bryan Crossland
On Fri, Mar 11, 2011 at 7:31 AM, Matthew R. wrote: > I am having a problem getting Redmine to run with Oracle (11.2) backend. > I get this error (below) because Oracle table names are limited to 30 > characters. Does anyone around here know of a fix or workaround? I'm > wondering if I can simple

[Rails] double file load problem

2011-03-11 Thread Usman Hussain
Hi Guys, Im in a bit of a Pickle. Im using Watir-Webdriver with Cucumber but the language im coding in is RUBY. we have a new folder structure which is: | -git_repo | -lib | -bin | -features | -project_1 | -step_definitions

Re: [Rails] Re: Plugin problem in heroku

2011-03-11 Thread Bryan Crossland
On Fri, Mar 11, 2011 at 6:09 AM, Karthikeyan wrote: > But everything works fine on my local computer! > > Environment, environment, environment. Your local machine is not the same as Heroku. There could be a multitude of things that could cause your app to crash on Heroku but run fine on your loc

Re: [Rails] Re: RUBY ON RAILS SUPPORTS MS SQL SERVER 2000?

2011-03-11 Thread Bryan Crossland
On Thu, Mar 10, 2011 at 11:34 PM, Er.SALIM MANDREKAR < mandrekar.sa...@gmail.com> wrote: > sir i'm using MS SQL SERVER 2000 AND NOT SERVER 2005. > SECONDLY I ALREADY TRIED USING THAT GEM WHICH DOESNT MAKE ANY > DIFFERENCE TO THE ERRORS I'M FACING.. > > > IF I USE MS SQL SERVER 2005 THEN ITS WORKIN

Re: [Rails] Using Rails for consuming a web service

2011-03-11 Thread Bryan Crossland
On Fri, Mar 11, 2011 at 3:23 AM, Sebastian wrote: > Hi, > > I wrote pure Ruby code for consuming an existing web service. The > requests are send via net/http and are in XML format. That means I > have Ruby classes that look like this: > > class Request > def initialize(myrequest) >.--> s

Re: [Rails] Re: RUBY ON RAILS SUPPORTS MS SQL SERVER 2000?

2011-03-11 Thread Peter Bell
NO NEED TO SHOUT. HE'S TRYING TO HELP. Best Wishes, Peter On Mar 11, 2011, at 12:34 AM, Er.SALIM MANDREKAR wrote: > sir i'm using MS SQL SERVER 2000 AND NOT SERVER 2005. > SECONDLY I ALREADY TRIED USING THAT GEM WHICH DOESNT MAKE ANY > DIFFERENCE TO THE ERRORS I'M FACING.. > > > IF I USE MS S

Re: [Rails] sql server 2000 with ruby on rails works???

2011-03-11 Thread Bryan Crossland
On Fri, Mar 11, 2011 at 2:50 AM, Er.SALIM MANDREKAR < mandrekar.sa...@gmail.com> wrote: > i'm getting RAKE ABORTED!!! ERROR. > > n after this i get message in command prompt saying only MS SQL SERVER 2005 > AND LATER ARE SUPPORTED.. > > I INSTALLED THE GEM WHICH IS FOR SQL SERVER 2000. > > BUT STI

[Rails] Re: sql server 2000 with ruby on rails works???

2011-03-11 Thread John Ivanoff
a post I did a while ago... Maybe an older version of activerecord-sqlserver-adapter? http://johnivanoff.blogspot.com/2010/03/new-ruby-on-rails-setup-on-windows-xp.html also goo.gl/vvGuH Cheers John Ivanoff I've registered for the Bike MS: SAM'S CLUB Ride to fulfill a personal challenge, and als

[Rails] Add tabindex to country_select

2011-03-11 Thread Paul Bergstrom
How do I add tabindex to a country_select? -- 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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group,

[Rails] RE: SofTeC 2011: Meet testing leaders from Microsoft,Oracle,Applabs and others on Mar 26, Hyd

2011-03-11 Thread slbangalore sl
Hello, After the successful earlier editions, SiliconIndia is organizing Software Testing Conference (SofTec 2011), a leading event for the Software Test and QA Community on March 26th, 2011 (Saturday) this time in Hyderabad. SofTeC 2011's agenda reflects the challenges organizations face today

[Rails] Re: Resuming a download

2011-03-11 Thread Frederick Cheung
On Mar 11, 10:13 am, Ralph Shnelvar wrote: > Thank you.   Again, this is way over my head. > > The line of HAML I have is: >   = link_to '(MP4)', '/videolib/Workstation-Suspend-Put-001.mp4', 'class' => > video_type_link_to > > The user clicks on "(MP4)" and the download automagically begins. > >

[Rails] Problem with Redmine

2011-03-11 Thread Matthew R.
I am having a problem getting Redmine to run with Oracle (11.2) backend. I get this error (below) because Oracle table names are limited to 30 characters. Does anyone around here know of a fix or workaround? I'm wondering if I can simple change the table name, or if that will break the application.

Re: [Rails] Re: Plugin problem in heroku

2011-03-11 Thread Colin Law
On 11 March 2011 12:09, Karthikeyan wrote: > But everything works fine on my local computer! That is why you have to check the Heroku log to find out what caused the crash. Colin > > On Feb 28, 12:10 am, Bryan Crossland wrote: >> It does. Check your Heroku log to find out what caused the crash

[Rails] Re: Validates uniqueness two columns both ways?

2011-03-11 Thread Danimal
Of course, on further thought, The downside to this ID reordering is that I'd lose the data about who did the request. For the 'friendship', it doesn't matter. I.e. Person 1 is connected to Person 2 is exactly the same functionally as Person 2 is connected to Person 1 (in my app, that is). But th

[Rails] Re: Validates uniqueness two columns both ways?

2011-03-11 Thread Danimal
Hi Robert! Thanks for the post. Your thought would work, except that it's very much like 'friendship' in that it's immaterial who requested the 'friendship'. And that's the crux of it. Since Person 1 or Person 2 could be the sender/requester, it has to check both ways. Then again, I just had a th

[Rails] Using RBoard with an existing database with existing user model

2011-03-11 Thread mattyh88
Hi, I have an existing application running with a user model and everything. Now, I have copied the rboard (rails 3) repository from github and would like to run this forum on a subdomain, and letting it point to the same database that I'm using for my application (so people can use same login fo

[Rails] Re: Plugin problem in heroku

2011-03-11 Thread Karthikeyan
But everything works fine on my local computer! On Feb 28, 12:10 am, Bryan Crossland wrote: > It does. Check your Heroku log to find out what caused the crash. > > B. > > On Sun, Feb 27, 2011 at 12:18 AM, Karthikeyan wrote: > > Hello Ror, > > > I have a problem with heroku. I uploaded a sample a

[Rails] Using Rails for consuming a web service

2011-03-11 Thread Sebastian
Hi, I wrote pure Ruby code for consuming an existing web service. The requests are send via net/http and are in XML format. That means I have Ruby classes that look like this: class Request def initialize(myrequest) .--> send myrequest via net/http to the web service end end To use t

Re: [Rails] Re: Resuming a download

2011-03-11 Thread Ralph Shnelvar
FC> On Mar 11, 12:27 am, Ralph Shnelvar wrote: >> Is there a document somewhere that describers how I would implement, in >> Rails, a "resume download"? >> I have a large video I want people to download (if they want to). >> My partner has a bad Internet connection and it crashed several times >

[Rails] Re: Validates uniqueness two columns both ways?

2011-03-11 Thread Robert Pankowecki (rupert)
You could alway store them in known order so that sender.id <= reciver.id and use scoped validates_uniqueness_of. Assuming that sender and reciver can be exchanged in this relationship and does not have any additional meaning. Like 'friendship' when it does not matter who is friend A and who is f

Re: [Rails] Using the symbol '-' in route will cause error

2011-03-11 Thread Michael Pavling
On 11 March 2011 09:11, jaron wrote: > I want to route a URL like "http://localhost:3000/admin/product- > details".I defined the route mapping in routes.rb: Can you not use an underscore? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.

[Rails] Using the symbol '-' in route will cause error

2011-03-11 Thread jaron
I want to route a URL like "http://localhost:3000/admin/product- details".I defined the route mapping in routes.rb: map.namespace :admin do |admin| # Directs /admin/products/* to Admin::ProductsController (app/ controllers/admin/products_controller.rb) admin.product_details '/product-detai

[Rails] Re: A help for installing rails on windows

2011-03-11 Thread Er.SALIM MANDREKAR
*hi rahul,* * * *localhost:8808 is a documentation server.* * * *when u create a project using command :- rails new * *a project wil be created. after configuring necessary files such as DATABASE.YML , ROUTES.RB* *you have to start the server by a command :- rails server* * * *this will start th

Re: [Rails] Re: How to install rails_tiny_mce in Rails2.3.10

2011-03-11 Thread Sandip
Hi, rails_tiny_mce works with rails 2.3.10 use rails_2.x branch. https://github.com/sandipransing/rails_tiny_mce/tree/rails_2.x On Fri, Mar 11, 2011 at 4:26 AM, Jatin kumar wrote: > > > On Thu, Mar 10, 2011 at 5:34 PM, kwiest wrote: > >> Jaron, >> >> I've played around with the TinyMCE plugi

[Rails] Re: How to install rails_tiny_mce in Rails2.3.10

2011-03-11 Thread jaron
It's right.I install the plugin using follow command: ./script/plugin install git://github.com/sandipransing/rails_tiny_mce.git -r rails_2.x ./script/generate rails_tiny_mce_migration rake db:migrate ./script/plugin install git://github.com/aaronchi/jrails.git rake rails_tiny_mce:plugins rake rails

Re: [Rails] sql server 2000 with ruby on rails works???

2011-03-11 Thread Er.SALIM MANDREKAR
i'm getting RAKE ABORTED!!! ERROR. n after this i get message in command prompt saying only MS SQL SERVER 2005 AND LATER ARE SUPPORTED.. I INSTALLED THE GEM WHICH IS FOR SQL SERVER 2000. BUT STILL THE SAME. -- You received this message because you are subscribed to the Google Groups "Ruby o

Re: [Rails] Re: Collection add saves to the database twice

2011-03-11 Thread Colin Law
On 11 March 2011 02:38, danm wrote: > Thanks for the tip about watching development.log, Colin.  But now the > mystery > deepens.  Using IE 8.0, EVERY AJAX call shows up twice.  However, > using the exact same links in Firefox 3.6.14, they only show up once. > I am > tailing the log file and watch

[Rails] aptana studio 3 for rails development.

2011-03-11 Thread Mauro
Hello, there is anyone using aptana studio 3 for rails development? I don't understand how to configure ruby interpreter. I have ruby and jruby and I want to use jruby for aptana. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to

Re: [Rails] A help for installing rails on windows

2011-03-11 Thread Bryan Crossland
On Mar 10, 2011, at 11:35 PM, rahul rai wrote: > Hello Everyone , I have Rails installed and Ruby installed too , in > windows 7 . When i click ruby gems documentation server . It says > SERVER STARTED on 0 .0.0.0:8808. Then i go to {http://localhost:8808/} > . The browser says Ruby Gems Document

Re: [Rails] sql server 2000 with ruby on rails works???

2011-03-11 Thread Bryan Crossland
On Mar 10, 2011, at 11:59 PM, "Er.SALIM MANDREKAR" wrote: > 'm trying to use Ruby on Rails accessing a pre-existing database on > SQL Server 2000. > After some research I found that it should use the gem activerecord- > sqlserver-adapter. Create a connection via ODBC to the > desired base, a

[Rails] A help for installing rails on windows

2011-03-11 Thread rahul rai
Hello Everyone , I have Rails installed and Ruby installed too , in windows 7 . When i click ruby gems documentation server . It says SERVER STARTED on 0 .0.0.0:8808. Then i go to {http://localhost:8808/} . The browser says Ruby Gems Documentation Index . Summary . There are 34 gems installed . .

[Rails] Ruby Rails programmer,Working from Home.Apply:res...@msysinc.com

2011-03-11 Thread Guru
Title:Ruby Rails programmer Location:Working from Home Term:W2 or Corp to Corp Resource has to be in the USA (H1 GC/Citizen) Skills required (Rank in order of importance): Senior Programming skills in the following areas: - Ruby on Rails - NoSQL Data Stores - Expertise in the presenters patte

[Rails] Looking for Junior Ruby on Rails programmer in Chicago-

2011-03-11 Thread Steve Omans
I am developing a social media site for healthcare and would like to hire a contractor in Chicago to build my site- Healthcare Social Media site for 1.0. Please respond with healthcare sites and level of ability and hourly or fixed rates. -- You received this message because you are subscribed t

[Rails] Re: Resuming a download

2011-03-11 Thread Frederick Cheung
On Mar 11, 12:27 am, Ralph Shnelvar wrote: > Is there a document somewhere that describers how I would implement, in > Rails, a "resume download"? > > I have a large video I want people to download (if they want to). > > My partner has a bad Internet connection and it crashed several times > and

Re: [Rails] ssl_requirement plugin still maintained?

2011-03-11 Thread Er.SALIM MANDREKAR
thanks chris.. even i was looking for same thing.. it works -- 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 to rubyonrails