Re: [Rails] Re: Rails wiki down

2011-03-02 Thread Xavier Noria
On Thu, Mar 3, 2011 at 8:29 AM, Maxo wrote: > Any idea when it will be up? > > I found lots of interesting materials on wiki, so it is indeed very > helpful There are no plans to bring it up again by now. The wiki had some outdated information and was not maintained generally speaking. The link

[Rails] Video Streaming

2011-03-02 Thread Jags84
Hi guys! I like to develop an application for Video/Chat in RoR, i am searching and i find that i need a Streaming server, i find 2 Flash Media Server Red5 i like to know is there another way of doing this? or if anyone has tried the Red5 in Ror? i like to do something like www.twitcam.com Anot

[Rails] [HELP PLS] uninitialized constant ActiveSupport::Dependencies::Mutex

2011-03-02 Thread Kevin Owocki
Hi all, I'm new to the world of ruby, and am trying to get my first rake set up. But my rake is failing with the following error message: "uninitialized constant ActiveSupport::Dependencies::Mutex" *# rake db::setup --trace* (in /var/www/bi) rake aborted! uninitialized constant ActiveSupport::De

[Rails] Show a value in view

2011-03-02 Thread Chandu80
Hello All, I am working on a microblogging application.(similar to twitter) In my controller there is a method called replypopUp.It is a method that runs when the reply link on timeline is clicked.When I a click on the link a pop-up appears in which there is a text area and a post button.Inside the

[Rails] Re: Rails wiki down

2011-03-02 Thread Maxo
Any idea when it will be up? I found lots of interesting materials on wiki, so it is indeed very helpful On Mar 1, 12:13 pm, Xavier Noria wrote: > On Monday, February 28, 2011, all4miller wrote: > > Is the rails wiki (http://wiki.rubyonrails.org) down or abandoned? > > It has been taken down.

[Rails] Re: How to generate an sql comment using a migration file?

2011-03-02 Thread Robert Walker
Jason Cameron wrote in post #984994: > I'd like to use migrations to add/remove/modify columns from a database. > Rails makes that relatively painless. One feature I don't see is the > ability to comment on columns in the schema. How can I add a column > comment to a migration? > > We're using Or

Re: [Rails] Re: Rake aborted! on No Rakefile Found error

2011-03-02 Thread radhames brito
> > > Gene Kahn wrote in post #118144: > If you are using netbeans as the ide check if its set to use jruby as the platform -- 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@googlegroup

[Rails] Re: Rake aborted! on No Rakefile Found error

2011-03-02 Thread Ashish Garg
If you installed rake after making your application that it may be the problem.. sudo apt-get install rake Make a new application and try rake on it with right directory... It will most probably work... Gene Kahn wrote in post #118144: > Hello, > On a command: > > rake db:migrate > > I get the "ra

[Rails] date type in database becomes nil in rails

2011-03-02 Thread Ichiro Saga
Hi, there. I wrote an application in Windows and tried to run it in Ubuntu 10.04 64-bit. The app works fine in windows but I found a strange problem when I tested it in Ubuntu. Two tables in database have a column with date type and sqlite3 is able to display the data in the column. However, as

Re: [Rails] Re: Rails3 Uploading a File over AJAX

2011-03-02 Thread Walter Lee Davis
On Mar 2, 2011, at 1:40 PM, pietia wrote: Take a look on https://github.com/formasfunction/remotipart That looks really cool. Have you heard of anything similar for Prototype? Walter -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" grou

Re: [Rails] Re: Did rails or shoulda go insane on the inflection of 'taxes'?

2011-03-02 Thread David Kahn
On Wed, Mar 2, 2011 at 2:34 PM, Colin Law wrote: > On 2 March 2011 20:18, David Kahn wrote: > > > On Wed, Mar 2, 2011 at 1:46 PM, Colin Law > wrote: > >> ... > >> It seems as if shoulda is not picking up the inflections for some > >> reason. I don't use shoulda, can you output debug during its

Re: [Rails] migrations in rails?

2011-03-02 Thread David Kahn
On Wed, Mar 2, 2011 at 3:59 PM, Gaba Luschi wrote: > Are migrations used only when you're making changes to a database? Does > it just allow the developer to avoid using raw SQL when working with > databases? > Right. Not only does it allow the developer to use a much easier (IMO) manner to do

[Rails] Using Pony to send email with attachments

2011-03-02 Thread Dennis Monsewicz
I have a script that I'm using to try to send an email with an attachment but for some reason I can't get both the HTML part of the email to show at the sametime as the attachment to be in the email. Here is my code [code] Pony.mail( :to => to, :from => 'Me ', :subject =>

[Rails] Re: Rails & Red5

2011-03-02 Thread Juan G.
Hi guys! i want to make a videochat website in RoR! there is a tutorial for that? i find i need a streaming server like Red5 o Flash Media Server, is there another alternative? Thanks -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Goo

[Rails] Re: Ruby on Rails integration with Red5 Chat

2011-03-02 Thread Juan G.
Hi! i need that to! i want to make a videochat website and i need that! anyone?! -- 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@googlegrou

[Rails] Re: Rails3 Uploading a File over AJAX

2011-03-02 Thread pietia
Take a look on https://github.com/formasfunction/remotipart -- 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

[Rails] [JOBS] - BillFloat, full time - Downtown San Francisco

2011-03-02 Thread Sinda
BillFloat is the first micro-credit solution to offer consumers ‘more time to pay’ over 3,000 recurring bills including utility, cable and satellite, wireless, auto lease, phone, housing, and insurance payments. BillFloat is an early stage company backed by First Round Capital, PayPal, and Venrock

[Rails] migrations in rails?

2011-03-02 Thread Gaba Luschi
Are migrations used only when you're making changes to a database? Does it just allow the developer to avoid using raw SQL when working with databases? -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"

[Rails] Nested forms validation problem

2011-03-02 Thread Dan Thompson
Hi All, I'm trying to learn Ruby on Rails and have got an issue with the validation of a nested form. I think I have got it setup correctly as it appears to be saving the data as expected, but it is not wrapping the CSS class (field_with_errors) to the fields, and if data is entered into the neste

[Rails] Re: group() and PostgreSQL strange behavior

2011-03-02 Thread Brian Ledsworth
Actually, as I think about it, you shouldn't have a Select * in a Group By? You should select the column(s) you want to aggregate. Check this out: http://stackoverflow.com/questions/1769361/postgresql-group-by-different-from-mysql -- Posted via http://www.ruby-forum.com/. -- You received thi

[Rails] Re: Installation Error?

2011-03-02 Thread Manuele Dones
install ubuntu and follow this: http://cicolin.blogspot.com/2010/10/how-to-install-ruby-rails-and.html ;-) -- 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 unsubsc

[Rails] Re: group() and PostgreSQL strange behavior

2011-03-02 Thread Brian Ledsworth
I checked my install and received the same results. Looks like a PostgreSQL syntax thing. I'm new to PostgreSQL and have not looked at group by SQL syntax. Off the top of my head, as a (non recommended) work around, you could insert a .select() with a column list, and it should work. That,

[Rails] Re: Rails guides has_many :through example

2011-03-02 Thread zindelo
I've solved the issue, but it sure seems like a hack. Hopefully someone can help with a more elegant approach. It seems like I'm missing something simple, all I need to do is display a name. <%= form_for @physician do |f| %> <%= f.label :name %> <%= f.text_field :name %> Patient appointments

[Rails] Re: Member route error

2011-03-02 Thread djangst
Okay, I see now. There's a hidden input "_method" with value "put" output automatically with my form. I needed to change my route to use "put" instead of "post" to match what's happening behind the scenes. My functional test was working with post so I couldn't see anything wrong there, and it's od

Re: [Rails] Re: Did rails or shoulda go insane on the inflection of 'taxes'?

2011-03-02 Thread Colin Law
On 2 March 2011 20:18, David Kahn wrote: > On Wed, Mar 2, 2011 at 1:46 PM, Colin Law wrote: >> ... >> It seems as if shoulda is not picking up the inflections for some >> reason.  I don't use shoulda, can you output debug during its >> execution?  Is so what happens if you output >> "xp_jurisdic

Re: [Rails] Re: Did rails or shoulda go insane on the inflection of 'taxes'?

2011-03-02 Thread David Kahn
On Wed, Mar 2, 2011 at 1:46 PM, Colin Law wrote: > On 2 March 2011 17:54, David Kahn wrote: > > ... > > *BUT* some piece of code is still deciding that I have 'taxis' and not > > 'taxes' --- spec still failing: > > > > 1) AccountSubcode > > Failure/Error: it { should have_many(:xp_jurisdi

[Rails] Re: autotest not doing anything

2011-03-02 Thread Fernando Perez
Forget about autotest. It looks cool in the screencasts, but it quickly becomes annoying. -- 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@g

[Rails] Member route error

2011-03-02 Thread djangst
I'm getting a RoutingError for a member route I can't figure out. I'm posting a simple form that has a submit button as a confirmation step. Here's the route: # routes.rb resources :orders do post 'confirm', :on => :member end 1) "rake routes" shows it's there: confirm_order POST /orders/:i

Re: [Rails] Terminal for Windows XP

2011-03-02 Thread Colin Law
On 2 March 2011 00:40, Tyler.DeLawder wrote: > So I was wanting to know if there was a program I can use like > termianl on Linux or something for Windows XP I do not like the > Command Prompt... > > I can not figure out how to edit my apps in the command prompt either What do you mean by edit th

[Rails] autotest not doing anything

2011-03-02 Thread Murph2m
Hi, I am desperate for some help to get autotest working and have spent hours but with no luck as below: -bash-3.2$ autotest loading autotest/rails_rspec2 style: RailsRspec2 -bash-3.2$ Nothing happens? Below a

Re: [Rails] Re: Did rails or shoulda go insane on the inflection of 'taxes'?

2011-03-02 Thread Colin Law
On 2 March 2011 17:54, David Kahn wrote: > ... > *BUT* some piece of code is still deciding that I have 'taxis' and not > 'taxes' --- spec still failing: > >   1) AccountSubcode > Failure/Error: it { should have_many(:xp_jurisdiction_taxes) } > NameError: >    uninitialized constant

Re: [Rails] Terminal for Windows XP

2011-03-02 Thread Norm Scherer
On 03/01/2011 05:40 PM, Tyler.DeLawder wrote: So I was wanting to know if there was a program I can use like termianl on Linux or something for Windows XP I do not like the Command Prompt... I can not figure out how to edit my apps in the command prompt either please post a link to a guide or so

Re: [Rails] Logging in when user account captured by subdomain

2011-03-02 Thread Robert Calco
Actually after much banging of my head on the wall, the obvious hit me: I need to specify the :host on the redirect to the full domain of the user account! Doh! "Well, duh!" ;) Thanks Frederick for your suggestion, it helped. - Bob On Wed, Mar 2, 2011 at 7:14 PM, Frederick Cheung wrote: > >

Re: [Rails] Ambiguous columns from related tables

2011-03-02 Thread Michael Pavling
On 2 March 2011 14:34, Peter D Bethke wrote: > I've got an issue where i have a search page that passes a field which is > then used as the criteria of the search. Problem is, I've set an AR has_many > relationship in the model that joins one table to another - both tables have > the same colum

Re: [Rails] Re: Installation Error?

2011-03-02 Thread Bryan Crossland
On Wed, Mar 2, 2011 at 10:19 AM, Gaba Luschi wrote: > When you say I must be an administrator - how do I check if I'm an > administrator or have the privileges to install gem? > > Start->Control Panel->User Accounts->click Advanced Tab->Advanced->Select Groups->double click Administartors. You sh

Re: [Rails] Logging in when user account captured by subdomain

2011-03-02 Thread Frederick Cheung
On 2 Mar 2011, at 18:54, Robert Calco wrote: > Anyone: > > > My problem is that when I authenticate the user in the interim action (the > one that ordinarily just redirects to /session/new) and attempt to take them > to the home page as freshly logged in users, they are mysteriously no lon

[Rails] Logging in when user account captured by subdomain

2011-03-02 Thread Robert Calco
Anyone: I need advice for logging users in when the account information is in a subdomain off the main domain where the login form resides. I purchased a rails-based framework that by design uses subdomains for user accounts. So, let's say my "main" domain where the login page is is called live.a

[Rails] Re: haml to erb - does it work with new html5 tags?

2011-03-02 Thread Manoj Sachwani
Thanks Philip! Yea, I meant to ask that specifically, sorry does it support #foo to be converted to a section tag with id foo or something? On Mar 2, 11:17 pm, Philip Hallstrom wrote: > > I wanted to covert all my erb over to haml, but I use HTML5 tags like > > nav, section, article, etc. Any id

Re: [Rails] haml to erb - does it work with new html5 tags?

2011-03-02 Thread Philip Hallstrom
> I wanted to covert all my erb over to haml, but I use HTML5 tags like > nav, section, article, etc. Any idea if this is supported by haml? > Checked out their site, nothing mentioned there or did I miss > something. Sorry noob here. HAML doesn't care (at least I don't think so)... %div or %nav

[Rails] haml to erb - does it work with new html5 tags?

2011-03-02 Thread Manoj Sachwani
Hi, I wanted to covert all my erb over to haml, but I use HTML5 tags like nav, section, article, etc. Any idea if this is supported by haml? Checked out their site, nothing mentioned there or did I miss something. Sorry noob here. -- You received this message because you are subscribed to the Go

[Rails] Re: Sessions in Rails 3

2011-03-02 Thread Manoj Sachwani
Thanks Jatin! Found the guides to be more than sufficient! :) On Feb 10, 11:56 pm, Jatin kumar wrote: > There you go. Everything you need to learn about sessions and cookies is > right > here.http://guides.rubyonrails.org/action_controller_overview.html#sessionhttp://m.onkey.org/signed-and-perma

[Rails] Rails3 Uploading a File over AJAX

2011-03-02 Thread TomRossi7
What is the Rails Way of uploading a file over AJAX with Rails 3? In previous versions of Rails, I've posted to a targeted iframe and used responds_to_parent to render the response. This doesn't appear to be working with Rails 3. Anyone know a better solution? Thanks! Tom -- You received this

Re: [Rails] Re: Did rails or shoulda go insane on the inflection of 'taxes'?

2011-03-02 Thread David Kahn
On Wed, Mar 2, 2011 at 9:41 AM, Colin Law wrote: > On 2 March 2011 15:08, David Kahn wrote: > > ... > > Thanks Colin, here are the models and tables. Also to be sure went in to > db > > console and verified the actual table names just in case something went > > awry. Also at bottom are the three

[Rails] Re: group() and PostgreSQL strange behavior

2011-03-02 Thread Fernando Perez
Eureka! The docs are incomplete. I obviously need to add a count, sum, etc method for the grouping to make sense. -- 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 em

[Rails] How to generate an sql comment using a migration file?

2011-03-02 Thread Jason Cameron
I'd like to use migrations to add/remove/modify columns from a database. Rails makes that relatively painless. One feature I don't see is the ability to comment on columns in the schema. How can I add a column comment to a migration? We're using Oracle/PosgreSQL (and we're thinking of adding SQL

Re: [Rails] Digest for rubyonrails-talk@googlegroups.com - 25 Messages in 14 Topics

2011-03-02 Thread Lea Hyke
JOBS: Client and Server side and Web Developers needed! (more than one open position) *iOS and iPhone Engineer* *Web Engineer* *Server Engineer* *Senior Server Engineer*

[Rails] group() and PostgreSQL strange behavior

2011-03-02 Thread Fernando Perez
Here is a simple request: Visit.group("user_id") And I get: PGError: ERROR: column "visits.id" must appear in the GROUP BY clause or be used in an aggregate function If I add visits.id to the group by clause, then it asks me to add another column, then another, then another. Basically I have t

[Rails] Re: Rails guides has_many :through example

2011-03-02 Thread zindelo
has_many :through is needed. In order for appointment_date to be available to both physicians and patients, it should be located in the appointments table. Using fields_for :appointments is quite simple and I successfully list out the appointments for a physician or patient. Listing out the as

[Rails] Re: Do you agree that as some point, every (big enough) Rails app sould not rely only on ActiveRecord?

2011-03-02 Thread Michel Pigassou
Thank you all for your answers. Tricon your link seems interresting, I'll read it tomorrow, thanks ;) -- 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

[Rails] Re: Keep file formatation

2011-03-02 Thread Diego Bernardes
Thanks Fred, workerd with the tag. I didnt know it existed :P Thanks again. -- 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.c

[Rails] Re: Installation Error?

2011-03-02 Thread Gaba Luschi
When you say I must be an administrator - how do I check if I'm an administrator or have the privileges to install gem? 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 this

Re: [Rails] Re: elationship between ruby on rails and html/css?

2011-03-02 Thread Walter Lee Davis
On Mar 1, 2011, at 9:04 PM, radhames brito wrote: On Tue, Mar 1, 2011 at 2:31 AM, Karthikeyan wrote: OK, you put HTML and CSS code into a file and name it something.html , save it and open in a browser and you see a beautiful web page. Continuing with what Karthikeyan said , you will s

[Rails] Re: elationship between ruby on rails and html/css?

2011-03-02 Thread Gaba Luschi
Thanks Karthikeyan and Radhames! Alas, I wish it were a homework question - that would imply I'm still in school to some extent (and school was awesome!!!) ;) -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

Re: [Rails] Designing Relation Ship Between Different Models

2011-03-02 Thread Curtis Schofield
Sent from my iPad On Mar 1, 2011, at 10:16 PM, Sai Babu wrote: > Hi > > I have One Problem > > For Example if You Take > > Category has_many :products > > Here For Category i have soap as example > > for products i am taking Santoor , Lux and Rin soaps as products. > Product -name : s

[Rails] A Gem to make Git & Rails Migrations work together

2011-03-02 Thread Matt Di Pasquale
Here is a rough draft of the idea & algorithm... http://www.mattdipasquale.com/blog/2011/02/28/rails-model-safe-migrations/ Comments? Anyone want to pair on this? I'm in NYC, Manhattan. Matt -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" grou

[Rails] Noob: Weird Association Question

2011-03-02 Thread Dani
Ok, so I've been trying to make this thing work for a couple of days now without luck. I am just tarting to think that what I want to do is not possible. The associations that I am trying to describe are: *Account:* has_many :groups has_many :users belongs_to :admin, :class_name => "User" belong

[Rails] Re: Do you agree that as some point, every (big enough) Rails app sould not rely only on ActiveRecord?

2011-03-02 Thread Tricon
Always use the best tool for the job. The evolution and scaling of Twitter is a good example of this: http://highscalability.com/scaling-twitter-making-twitter-1-percent-faster -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To pos

[Rails] Re: Rails 3.0 App Deployment

2011-03-02 Thread Tricon
For future readers of this thread, Don't deploy a Rails app on a shared server. It's not worth the hassle and your hands will be bound. Rails is designed to work with VPS and dedicated servers. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk"

Re: [Rails] Re: Did rails or shoulda go insane on the inflection of 'taxes'?

2011-03-02 Thread Phil Crissman
It looks like a plain old AR inflection error; you can see it in the console: > "tax".pluralize => "taxes" > "taxes".singularize => "taxis" Rails stopped accepting inflection-related patches ages ago, but you can add more; google "adding activerecord inflections". The rails docs have a few exampl

Re: [Rails] Re: Did rails or shoulda go insane on the inflection of 'taxes'?

2011-03-02 Thread Colin Law
On 2 March 2011 15:08, David Kahn wrote: > ... > Thanks Colin, here are the models and tables. Also to be sure went in to db > console and verified the actual table names just in case something went > awry. Also at bottom are the three rspec/shoulda errors. I have to be doing > something wrong but

[Rails] Re: redesigning a php app

2011-03-02 Thread t.pickett66
On Mar 1, 6:15 pm, Bill Walton wrote: > Oops.  Continuing... > > On Tue, Mar 1, 2011 at 6:08 PM, Bill Walton wrote: > > Hi Kenneth, > > > On Tue, Mar 1, 2011 at 5:48 PM, Kenneth Vogt wrote: > >> I am redesigning a php app in RoR. I am brand new to both Ruby and > >> Rails. There is a front end

[Rails] Re: How to create a method such as: @user.travels.register(.)

2011-03-02 Thread Fernando Perez
Thank you Frederick. I now know where and what to look for. -- 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

[Rails] Re: Ambiguous columns from related tables

2011-03-02 Thread Frederick Cheung
On Mar 2, 2:34 pm, Peter D Bethke wrote: > Hi all, > > I've got an issue where i have a search page that passes a field which is > then used as the criteria of the search. Problem is, I've set an AR has_many > relationship in the model that joins one table to another - both tables have > the

[Rails] Re: How to create a method such as: @user.travels.register(.)

2011-03-02 Thread Frederick Cheung
On Mar 2, 2:59 pm, Fernando Perez wrote: > Hi, > > In order to trim my controllers down and keep the code in the correct > place, I am trying to refactor: > > @user.travels.create(:name => ..., :date => ..., :ip => request, > etc) > > to: > > @user.travels.register(params, request) > > So my

Re: [Rails] Re: Did rails or shoulda go insane on the inflection of 'taxes'?

2011-03-02 Thread David Kahn
On Wed, Mar 2, 2011 at 3:44 AM, Colin Law wrote: > On 2 March 2011 00:15, David Kahn wrote: > > Correction --- I had originally misnamed the models by plural, however > once > > fixed now, still same problem. I think this is a shoulda issue as I can > > associate and access the models and associ

[Rails] Need help with RSpec xhr request

2011-03-02 Thread Sam H.
I have the following function in JS for a drag and drop file uploader: function uploadFile(file){ var xhr = new XMLHttpRequest(); var upload = xhr.upload; var uri = "/imagebooks/upload_supporting_image/?authenticity_token=" + $('meta[name=csrf-token]')

[Rails] How to create a method such as: @user.travels.register(.)

2011-03-02 Thread Fernando Perez
Hi, In order to trim my controllers down and keep the code in the correct place, I am trying to refactor: @user.travels.create(:name => ..., :date => ..., :ip => request, etc) to: @user.travels.register(params, request) So my questions are: 1) is create() an instance method of Travel? I

[Rails] Re: Call Rest webservice in Ruby on Rails

2011-03-02 Thread gs84
On 1 mar, 19:32, exequiel wrote: > Hi, > > To send data from an action I do this: > > def send_mydata >   ... >   uri = URI.parse(link) >   net_http = Net::HTTP.new(uri.host, uri.port) >   net_http.open_timeout = timeout >   net_http.read_timeout = timeout >   net_http.use_ssl = (uri.scheme == '

[Rails] Re: Rails doesn't find installed gem on server startup

2011-03-02 Thread David Gosling
So I found the solution... Missing these required gems: delayed_job < 2 means that the application requires the delayed_job gem with a version less than 2 : as specified in the environment.rb : config.gem 'delayed_job', :version => "<2" I just had to install a previous version of the delay

[Rails] Ambiguous columns from related tables

2011-03-02 Thread Peter D Bethke
Hi all, I've got an issue where i have a search page that passes a field which is then used as the criteria of the search. Problem is, I've set an AR has_many relationship in the model that joins one table to another - both tables have the same column name I'm searching on, so naturally I get a

Re: [Rails] elationship between ruby on rails and html/css?

2011-03-02 Thread radhames brito
On Wed, Mar 2, 2011 at 5:49 AM, Colin Law wrote: > On 1 March 2011 01:41, Gaba Luschi wrote: > > What is the relationship between ruby on rails and html/css? > > Is that a homework question? > I know people that only used CMS all their life and they "develop" sites and sell projects constantly

[Rails] Re: Keep file formatation

2011-03-02 Thread Frederick Cheung
On Mar 2, 1:33 pm, Diego Bernardes wrote: > Hello! > > I developed a management application for some internal applications the > company i work. > Mostly applications accept a file with some params and then export the > result to a file, so the rails app generate the file input, execute, get > t

[Rails] Keep file formatation

2011-03-02 Thread Diego Bernardes
Hello! I developed a management application for some internal applications the company i work. Mostly applications accept a file with some params and then export the result to a file, so the rails app generate the file input, execute, get the answer from the result file and show on screen. But in

Re: [Rails] Re: Couldn't find 'rspec' generator

2011-03-02 Thread Phil Crissman
On Wed, Mar 2, 2011 at 3:19 AM, Tushar Gandhi wrote: > I am on rails 2.3.8 > You'll find instructions here: https://github.com/dchelimsky/rspec/wiki/rails > Clint Krollwood wrote in post #984887: > > Hi there, > > > > Are you on rails 2.x.x or 3 ? > > -- > Posted via http://www.ruby-forum.co

[Rails] Rails doesn't find installed gem on server startup

2011-03-02 Thread David Gosling
Hi, I have a ruby application that I need to install but I'm new to ruby on rails and I've run into a problem already... I've installed Ruby 1.8.7, RubyGems 1.5.3 and Rails 2.3.8. These are the versions required for the application. I have also installed all the gems specified in the application

[Rails] [JOBS] Ruby on Rails developer wanted

2011-03-02 Thread Bruce Pearson
We are looking for a Ruby on Rails developer to join our team. Our company, www.icanlocalize.com runs an online translation service and uses RoR for our translation server. We are looking for someone to maintain our existing system and continue future development work. Requirements: * 3+ yea

[Rails] SSL plugin installation problem

2011-03-02 Thread Shivanand Mahajan
hi rubies, I'm very new to ROR. I'm following some tutorial for enabling SSL for my rails apllication. In that they have given plugin installation command like script/plugin install ssl_requirement (I'm entering this within my app and i have include ssl_requirement in my

Re: [Rails] Joins in ror

2011-03-02 Thread Colin Law
On 2 March 2011 08:12, rohit pal wrote: > Just create an association in user > has_many donations > this way you don't have to write queries. > To get a list of donations made by a user just make a call  @user.donations In addition see the Rails Guide on ActiveRecord Relationships for more inform

Re: [Rails] Unauthorized Access

2011-03-02 Thread Colin Law
On 2 March 2011 06:17, Chandu80 wrote: > Hello All, > I have recently begun working on RoR. > I am working on a microblogging application.I have a timeline where > messages posted by users and his/her followers are being > displayed.There is a facility for the logged in user to reply to those > me

Re: [Rails] elationship between ruby on rails and html/css?

2011-03-02 Thread Colin Law
On 1 March 2011 01:41, Gaba Luschi wrote: > What is the relationship between ruby on rails and html/css? Is that a homework question? Colin -- 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 rubyonrail

Re: [Rails] Re: Did rails or shoulda go insane on the inflection of 'taxes'?

2011-03-02 Thread Colin Law
On 2 March 2011 00:15, David Kahn wrote: > Correction --- I had originally misnamed the models by plural, however once > fixed now, still same problem. I think this is a shoulda issue as I can > associate and access the models and associations correctly in the console. Can you confirm the model,

[Rails] Re: Couldn't find 'rspec' generator

2011-03-02 Thread Tushar Gandhi
I am on rails 2.3.8 Clint Krollwood wrote in post #984887: > Hi there, > > Are you on rails 2.x.x or 3 ? -- 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 ruby

[Rails] Re: Main menu generated from database

2011-03-02 Thread Fabrice Fabrisss
Thank you for your answer and your advice, that's what I was looking for, Sincerely, Fabrice -- 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-t

[Rails] Re: render :collection calling partial with phantom object?

2011-03-02 Thread Fearless Fool
Frederick Cheung wrote in post #984876: > There's a railscast covering one possible approach: > http://railscasts.com/episodes/197-nested-model-form-part-2 @Lorenzo: Looks good. Thanks. @Frederick: I'm beginning to believe that "if you can imagine it, Ryan Bates has already coded it." Thanks

Re: [Rails] Joins in ror

2011-03-02 Thread rohit pal
Just create an association in user has_many donations this way you don't have to write queries. To get a list of donations made by a user just make a call @user.donations On Wed, Mar 2, 2011 at 1:26 PM, Kanika S. wrote: > Hello Everyone, > I am having problems in implementing joins in ror. a

[Rails] Arel average of averages

2011-03-02 Thread Collin Miller
Lets say I have a few of tables orders = Arel::Table.new :orders stores = Arel::Table.new :stores managers = Arel::Table.new :managers And a manager has many stores and a store has many orders. One day I want to query for the average total across orders where a manager works. Oh, I want to group

[Rails] Re: Couldn't find 'rspec' generator

2011-03-02 Thread Clint
Hi there, Are you on rails 2.x.x or 3 ? On Mar 2, 6:42 am, Tushar Gandhi wrote: > Hi, > I am trying to learn the RSpec but unfortunately I found all the > tutorials which are very old. Is anyone have latest tutorial? > I am following some tutorial, I have followed the following steps:- > 1) gem