[Rails] Re: undefined method `model_name' for NilClass:Class

2011-02-28 Thread Tania v.
Hi, Within your view: I would say you need to replace "do |user_comment|" with something else like "do |u|" There are no errors in your controller for the new action. I see you said: ""Show" of User should let you create a new comment." Part of the Rails framework is the convention of mapping

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

2011-02-28 Thread elitwin
On Feb 28, 8:03 am, gs84 wrote: > I use rest web service in my rails application for user's > authentication (user creation, login, ...) > Can someone explain me, how can i call a REST Web service  (not > developped in Rails, and deployed by Tomcat) in my rails application > via POST method. You

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

2011-02-28 Thread shireesh
Define a class like this in your models folder class MyUserWS < ActiveResource::Base self.site = "http://localhost/";# point this to the location of your web service self.format = :json # default format is xml. include this line if you want json self.element_name =

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

2011-02-28 Thread Frederick Cheung
On Mar 1, 12:54 am, Fearless Fool wrote: > > I want to show/edit the metered services on the same page as premise > edit page, so my views/premises/edit.html.erb file has this line: > > <% Rails.logger.debug("== #...@premise.address} has > #...@premise.metered_services.count} metered services")

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

2011-02-28 Thread Karthikeyan
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. HTML and CSS has no power to connect to databases, respond to Ajax calls, create, modify and delete files. To do so we use a thing called server side scripting la

Re: [Rails] Re: Using Nokogiri to insert a tag into existing text

2011-02-28 Thread Walter Lee Davis
That's because Node.inner_html takes nodes, not strings as input. Glad you got it working. Walter On Feb 28, 2011, at 10:03 PM, Wes Gamble wrote: I tried Node.inner_html= to no avail, setting it to the string that resulted if I interpolated the where I wanted it. Not sure why it didn't wor

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

2011-02-28 Thread Lorenzo Brito Morales
maybe you have to add nested_attributes On Mon, Feb 28, 2011 at 6:54 PM, Fearless Fool wrote: > I have two models with a straightforward has_many / belongs_to > relationship: > > class Premise < ActiveRecord::Base >  has_many :metered_services, :dependent => :destroy >  ... > end > > class Meter

[Rails] First Saturday Free Workshops on ROR by BangaloreRUG

2011-02-28 Thread sharath chander punthambekar
Hello RUG Bengaluru Team I want to post a new initiative by Bangalore ROR 1. Start one day/half day workshop in ROR in Bengaluru Recommendations: 1. Can be free/paid 2. Can be held as part of monthly meet of RUG Bangalore or second saturday Regards Sharath sharath.r...@gmail.com 9845010499 -

[Rails] Re: Using Nokogiri to insert a tag into existing text

2011-02-28 Thread Wes Gamble
I tried Node.inner_html= to no avail, setting it to the string that resulted if I interpolated the where I wanted it. Not sure why it didn't work, but the replace/after works, so I went with that. Thanks for the help. Wes -- Posted via http://www.ruby-forum.com/. -- You received this mess

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

2011-02-28 Thread Bryan Crossland
On Mon, Feb 28, 2011 at 7:41 PM, Gaba Luschi wrote: > What is the relationship between ruby on rails and html/css? > > Married and living happily. Please be more specific as to what you are looking for. The above question is so broad in scope that you might as well have asked "What is the relati

Re: [Rails] Rails migration from 2.2.2 to 2.3.8

2011-02-28 Thread Bryan Crossland
On Mon, Feb 28, 2011 at 12:04 PM, erik wrote: > I have an app that has been around a while that I'm migrating for > Rails 2.3.8. There have been a lot of interesting issues, but I'm on > the home stretch, but have now run into some very odd errors. > What version of Rails was your app in before

[Rails] Re: Rails migration from 2.2.2 to 2.3.8

2011-02-28 Thread erik
I noticed that if i take the :work => :environment part out of the rake task and instead in the task do block require the environment file by hand (e.g. require(File.join(RAILS_ROOT, 'config', 'environment'))) it works fine. All of a sudden all of my class methods are available. this is very dist

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

2011-02-28 Thread Gaba Luschi
What is the relationship between ruby on rails and html/css? -- 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 unsubscrib

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

2011-02-28 Thread Fearless Fool
I have two models with a straightforward has_many / belongs_to relationship: class Premise < ActiveRecord::Base has_many :metered_services, :dependent => :destroy ... end class MeteredService < ActiveRecord::Base belongs_to :premise ... end and nested routes to match: Demo::Application.

Re: [Rails] How do I stop email from being delivered in the interceptor?

2011-02-28 Thread Jim Ruther Nill
On Tue, Mar 1, 2011 at 2:44 AM, Sam Kong wrote: > Hi, > > I am developing a rails 3 application. > I want to use a interceptor before delivering emails. > If a conditions meets, I want to stop the email. > How do I do that? > > Have a look at the railscast for actionmailer in rails 3. The last p

Re: [Rails] Design Question: How to filter based on runtime conditions

2011-02-28 Thread Bryan Crossland
I had a similar issue with a project I was working on and was able to filter the data using named scopes in my models. Rails 3.0.4/5 docs Named Scope http://api.rubyonrails.org/classes/ActiveRecord/NamedScope/ClassMethods.html B. On Mon, Feb 28, 2011 at 5:08 PM, Peter wrote: > (Sorry about th

[Rails] Re: How to turn :before_add exceptions into validation errors

2011-02-28 Thread Lee Smith
I'm having the same problem with a :before_add association callback. However, I'm actually adding the error directly to my model THEN raising the exception. But like you found, somewhere in the stack the model's errors get cleared or something and I don't see the error that I manually added t

[Rails] Design Question: How to filter based on runtime conditions

2011-02-28 Thread Peter
(Sorry about the lame title, if someone has a better title let me know and I think I can edit it) Hi, I have a design question about the best way to enable filtering of records at runtime, based on criteria that an end user (i.e. an admin) can set. I'm sure I'm describing that poorly so let me g

[Rails] Re: Problem with IRB keyboard mappings on Windows running Rails Installer

2011-02-28 Thread imdwalrus
Hi Tim, A couple of questions: 1. What versions of Windows and ruby are you running? 2. Did you install ruby using the Ruby Installer (http:// rubyinstaller.org). If so, which version? Regards, Mike On Feb 28, 9:23 am, TimD wrote: > Hello all, > > I'm having a problem setting up the Rails

[Rails] Ruby Engineer role, contract to hire in Portland, Oregon

2011-02-28 Thread Sara M
Good afternoon, Currently, I am recruiting for a Ruby Engineer role, contract to hire in Portland, Oregon. Please see job description below. This is an exciting company with 9 motivated and talented engineers working on a one of a kind B2B communication tool. If you would be interested, please

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

2011-02-28 Thread Paul
I've just used: data = `curl -data xxx url` That doesn't seem like the "right" way, but it works. On Mon, Feb 28, 2011 at 3:30 PM, Bill Walton wrote: > I use the Ruby Net::HTTP library to construct requests. > > Best regards, > Bill > > On Mon, Feb 28, 2011 at 10:03 AM, gs84 wrote: >> Hi every

[Rails] Re: Best way to connect various applications?

2011-02-28 Thread Zoran Szagaski
Just wondering if some new fancy gem came up within last year that does the job? -- 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

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

2011-02-28 Thread Bill Walton
I use the Ruby Net::HTTP library to construct requests. Best regards, Bill On Mon, Feb 28, 2011 at 10:03 AM, gs84 wrote: > Hi every body, > > I use rest web service in my rails application for user's > authentication (user creation, login, ...) > Can someone explain me, how can i call a REST Web

Re: [Rails] How do I stop email from being delivered in the interceptor?

2011-02-28 Thread Colin Law
On 28 February 2011 18:44, Sam Kong wrote: > Hi, > > I am developing a rails 3 application. > I want to use a interceptor before delivering emails. > If a conditions meets, I want to stop the email. > How do I do that? When you say 'delivering' emails do you mean 'sending'?. Is it the rails app t

Re: [Rails] form level validation, where to do it.

2011-02-28 Thread Colin Law
On 28 February 2011 17:36, gerry.jenk...@gmail.com wrote: > Form level validation involving enforcing a relation between two or > more form inputs that may not even be in the model: > > I am building a form that will query a range of records between two > dates. > > The form ask for a starting dat

Re: [Rails] live search.....

2011-02-28 Thread Mauro
On 28 February 2011 19:44, Walter Lee Davis wrote: > > On Feb 27, 2011, at 5:48 PM, Mauro wrote: > >> Do you use ajax live searching? >> With rails 2 I had used observe_field. >> Now in rails 3 with unobtrusive javascript it can be used jquery and >> onkeyup event, but I don't like keyup, on every

Re: [Rails] live search.....

2011-02-28 Thread Walter Lee Davis
On Feb 27, 2011, at 5:48 PM, Mauro wrote: Do you use ajax live searching? With rails 2 I had used observe_field. Now in rails 3 with unobtrusive javascript it can be used jquery and onkeyup event, but I don't like keyup, on every key I press there is a database search, it's too expensive. What

[Rails] Rails wiki down

2011-02-28 Thread all4miller
Is the rails wiki (http://wiki.rubyonrails.org) down or abandoned? -- 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 ruby

Re: [Rails] Problem with render_component and rails 3

2011-02-28 Thread Jeffrey L. Taylor
Quoting Ricardo Gonçalves Dias : > I have a application that it use view/layout/application.rhtml, in > this file I have: > > <%= render_component :controller => 'car', :action =>'index'%> > > But there is one problem, it display this problem: undefined method > `render_component' for #<#:0xb67e5

[Rails] `rails plugin install` does not work (3.0.4)

2011-02-28 Thread Radhesh Kamath
Hi experts, I recently moved to Rails 3.0.4, and tried doing 'rails plugin install https://github.com/parasew/acts_as_tree.git', but vendor/plugins/ is empty. I tried with the --force option, but the plugin still does not get installed. Am I missing something here? Best, Radhesh -- Posted via

[Rails] Re: bad to still start a 2.x app?

2011-02-28 Thread Radhesh Kamath
I was running 2.3.8, but one thing that sucks about using 2.3.8 is that I cannot write sophisticated using RSpec2. Which is why I am migrating to 3.0.4. So, if you would like to have good unit tests (using RSpec2), I would recommend moving to Rails 3. Best, Radhesh -- Posted via http://www.

[Rails] Comment appeler un REST Web Service avec Ruby on Rails

2011-02-28 Thread gs84
Bonjour, Après plusieurs tentatives sans succès, je fais appel à votre aide. J'ai une application Rails qui pour gérer l'authentification des utilisateurs (création login, etc) , utilise un REST Web Service (qui n'est pas en ruby on rails, déployé avec Tomcat). Je voudrais savoir quelle est la dé

[Rails] Call Rest webservice in Ruby on Rails

2011-02-28 Thread gs84
Hi every body, I use rest web service in my rails application for user's authentication (user creation, login, ...) Can someone explain me, how can i call a REST Web service (not developped in Rails, and deployed by Tomcat) in my rails application via POST method. Thanks in advance for your help

[Rails] Problem with render_component and rails 3

2011-02-28 Thread Ricardo Gonçalves Dias
I have a application that it use view/layout/application.rhtml, in this file I have: <%= render_component :controller => 'car', :action =>'index'%> But there is one problem, it display this problem: undefined method `render_component' for #<#:0xb67e5f34> How can I resolve this problem? -- You

[Rails] Problem with IRB keyboard mappings on Windows running Rails Installer

2011-02-28 Thread TimD
Hello all, I'm having a problem setting up the Rails Installer package under Windows - when IRB has been fired up, it seems to zap the default keyboard mappings which breaks the backspace function. It's appearing in the console as what I think is a Crtl-D character - or at least, it's displaying

[Rails] How do I stop email from being delivered in the interceptor?

2011-02-28 Thread Sam Kong
Hi, I am developing a rails 3 application. I want to use a interceptor before delivering emails. If a conditions meets, I want to stop the email. How do I do that? Thanks. Sam -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Grou

[Rails] Re: form level validation, where to do it.

2011-02-28 Thread Tim Shaffer
One option would be to put it in the controller. You can simply check the dates and create an instance variable containing an error message. That isn't very DRY though. Want to do it somewhere else? Then you're duplicating the code. Another option is to create a dummy model that does not inheri

[Rails] How do you display validation errors when using Association Callbacks?

2011-02-28 Thread Lee Smith
I'm trying to get a validation error to appear on my form. I'm adding the error to my model inside of a method called from a 'before_add' association callback (see prevent_user_from_having_more_than_one). From what I understand about Association Callbacks, you raise an exception so that you t

[Rails] Rails migration from 2.2.2 to 2.3.8

2011-02-28 Thread erik
I have an app that has been around a while that I'm migrating for Rails 2.3.8. There have been a lot of interesting issues, but I'm on the home stretch, but have now run into some very odd errors. The gist is when I run a task with rake it fails, but when I run the same code form the console it w

[Rails] form level validation, where to do it.

2011-02-28 Thread gerry.jenk...@gmail.com
Form level validation involving enforcing a relation between two or more form inputs that may not even be in the model: I am building a form that will query a range of records between two dates. The form ask for a starting data and a ending date. I want to validate that the user selected a start

Re: [Rails] Displaying git branch in the bash prompt - Ubuntu

2011-02-28 Thread dana tassler
David, that was IT! Thank you very much. Works beautifully now. On Mon, Feb 28, 2011 at 10:54 AM, David J. Hamilton wrote: > Excerpts from dana tassler's message of Sun Feb 27 17:37:20 -0800 2011: > > I'm looking to display my current git branch in the bash prompt. > > > > I can come close by f

Re: [Rails] Displaying git branch in the bash prompt - Ubuntu

2011-02-28 Thread David J . Hamilton
Excerpts from dana tassler's message of Sun Feb 27 17:37:20 -0800 2011: > I'm looking to display my current git branch in the bash prompt. > > I can come close by following these instructions, but it does not > display the branch. > http://railstips.org/blog/archives/2009/02/02/bedazzle-your-bas

[Rails] Re: DISTRIBUTE BLACKBERRY APPLICATION WITH RAILS

2011-02-28 Thread Robert Walker
ken bob wrote in post #984481:> has anyone any idea on how to distribute a BLACKBERRY APPLICATION > ( i.e .jad and .cod files) > using rails? I would want a little example on how to achieve this on > heroku. I don't think this is going to have anything to do with Rails. If you can figure out ho

Re: [Rails] Re: bad to still start a 2.x app?

2011-02-28 Thread Colin Law
On 28 February 2011 15:55, frankblizzard wrote: > the problem is that the client made already a 3-year-payment for this > hoster :-/ > in general the hoster looks great, it is just this issue with rails3 > not being supported yet.. > but i think i can upgrade to at least 2.3.8, like colin pointed

[Rails] Re: bad to still start a 2.x app?

2011-02-28 Thread frankblizzard
the problem is that the client made already a 3-year-payment for this hoster :-/ in general the hoster looks great, it is just this issue with rails3 not being supported yet.. but i think i can upgrade to at least 2.3.8, like colin pointed out. -- You received this message because you are subscri

[Rails] DISTRIBUTE BLACKBERRY APPLICATION WITH RAILS

2011-02-28 Thread ken bob
Hi, has anyone any idea on how to distribute a BLACKBERRY APPLICATION ( i.e .jad and .cod files) using rails? I would want a little example on how to achieve this on heroku. Regards Ken -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. T

[Rails] Re: associated models HABTM form problems

2011-02-28 Thread Frederick Cheung
On Feb 28, 3:27 pm, Michael Baldock wrote: > Thanks for your help! > > >  =band_form.label "Select from saved Bands" > >  =collection_select(band, :saved_band_name, @bands, :band_name, > > :band_name, {:selected => @selected_band}) > > That first argument to collection_select should be the name

[Rails] Re: associated models HABTM form problems

2011-02-28 Thread Michael Baldock
Thanks for your help! > =band_form.label "Select from saved Bands" > =collection_select(band, :saved_band_name, @bands, :band_name, > :band_name, {:selected => @selected_band}) That first argument to collection_select should be the name of the attribute, ie a symbol or string rather than an act

Re: [Rails] bad to still start a 2.x app?

2011-02-28 Thread Colin Law
On 28 February 2011 13:37, frankblizzard wrote: > Hi, > > I am still quite new to rails and now I have to do a project for a > client. She has her hosting a hostgator and they use cpanel as admin > panel. > The problem is that cpanel is not compatible with rails 3, the actual > installed version t

Re: [Rails] Displaying git branch in the bash prompt - Ubuntu

2011-02-28 Thread Hassan Schroeder
On Mon, Feb 28, 2011 at 6:57 AM, dana tassler wrote: > The time displays, as does the working directory.  They are also both > color-coded.  However, the current branch does not show (as I did initially > mention). > > I'm not on OS X but instead Ubuntu 10.04. Yes, I missed that, as the subject

[Rails] [JOBS] Technical writer familiar with Rails and documenting a RESTful API

2011-02-28 Thread Bill Walton
I have a short-term contract position opening for a technical writer. The position is telecommute and is probably a week to 2 weeks worth of work at full time. Part-time can be accommodated. Pay rate is negotiable. If you're experienced and interested, please contact me at bill at shopkeep dot c

Re: [Rails] Displaying git branch in the bash prompt - Ubuntu

2011-02-28 Thread dana tassler
I should have been clearer. The time displays, as does the working directory. They are also both color-coded. However, the current branch does not show (as I did initially mention). I'm not on OS X but instead Ubuntu 10.04. On Mon, Feb 28, 2011 at 8:53 AM, Hassan Schroeder < hassan.schroe...@g

Re: [Rails] Displaying git branch in the bash prompt - Ubuntu

2011-02-28 Thread Hassan Schroeder
On Sun, Feb 27, 2011 at 5:37 PM, dana tassler wrote: > I'm looking to display my current git branch in the bash prompt. > > I can come close by following these instructions, but it does not > display the branch.   > http://railstips.org/blog/archives/2009/02/02/bedazzle-your-bash-prompt-with-git-i

[Rails] Re: bad to still start a 2.x app?

2011-02-28 Thread Karthikeyan
Why don't you try other hosting services like heroku.com and hostingrails.com I think hostingrails.com is currently rates #1 ruby hosting service in blogs I read. On Feb 28, 7:19 pm, Jazmin wrote: > I would recommend to try to find a work around, specially because you will > be starting a new pr

Re: [Rails] Best Linux distro to code Rails

2011-02-28 Thread Bhasker Harihara
On Mon, Feb 28, 2011 at 4:26 PM, Karthikeyan wrote: > Hello Group, > > I want to start a project that uses Rails 3 and ruby 1.9.2 . with > (Rmagick). Can any one tell me a Linux distro that supports these > software seamlessly? > > -- > You received this message because you are subscribed to the

Re: [Rails] bad to still start a 2.x app?

2011-02-28 Thread Jazmin
I would recommend to try to find a work around, specially because you will be starting a new project, the rails community is quickly migrating gems/plugins to rails 3 and pretty soon new gems will not offer backward compatibility. Explore the options with the hosting provider. Good luck! -- You

Re: [Rails] Best Linux distro to code Rails

2011-02-28 Thread Jazmin
I am using Ubuntu and I have rvm. Working great so far!! no problems at all.. On Mon, Feb 28, 2011 at 4:56 AM, Karthikeyan wrote: > Hello Group, > > I want to start a project that uses Rails 3 and ruby 1.9.2 . with > (Rmagick). Can any one tell me a Linux distro that supports these > software

[Rails] Re: Installing ROR on ubuntu 10.04

2011-02-28 Thread all4miller
Definitely use RVM as this simplifies the experience. Remember to amend your .bashrc file and then your golden to install ruby as well rails. - All the best Angus | http://www.shuntyard.co.za/ (en) On Feb 27, 3:54 am, Mitin Rai wrote: > Hi > > I have installed Ubuntu 10.04 on my lenova. Tried in

[Rails] Re: Best Linux distro to code Rails

2011-02-28 Thread goose
If this is related to a personal development box I would say whatever Linux distro you are happy that also meets your personal app requirements and preferences. Rails run very well (and for all intensive purposes is equally easy to install) on all of the major Linux distros. So personally I would c

[Rails] bad to still start a 2.x app?

2011-02-28 Thread frankblizzard
Hi, I am still quite new to rails and now I have to do a project for a client. She has her hosting a hostgator and they use cpanel as admin panel. The problem is that cpanel is not compatible with rails 3, the actual installed version there is 2.3.5 Is it a bad idea to still start a 2.3.x applicat

[Rails] Re: Installing ROR on ubuntu 10.04

2011-02-28 Thread Manuele Dones
My tutorial could help you! 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 unsubscribe fro

[Rails] Re: Best Linux distro to code Rails

2011-02-28 Thread Manuele Dones
I don't know what's Rmagick, but maybe my little guide could help you: 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 rubyonrail

[Rails] Re: [ANN] Rails 3.0.5 has been released!

2011-02-28 Thread Manuele Dones
The same error here...On Ubuntu 10.10 And when I run "rails server" it says "=> Rails 3.0.4 application starting in development on http://0.0.0.0:3000 " instead of 3.0.5, is it normal? Thanks, byyye! -- You received this message because you are subscribed to the Google Groups "Ruby on Rails:

Re: [Rails] Best Linux distro to code Rails

2011-02-28 Thread Culley Smith
I recommend using rvm to install ruby and rails. That way, whatever distro you use, you will be able to control your RoR installations. I've tested RoR on Ubuntu, Arch Linux, Debian, and Fedora. Of these, I ran into the most problems with Ubuntu. I got things working just fine eventually, but U

Re: [Rails] Best Linux distro to code Rails

2011-02-28 Thread radhames brito
On Mon, Feb 28, 2011 at 6:56 AM, Karthikeyan wrote: > Hello Group, > > I want to start a project that uses Rails 3 and ruby 1.9.2 . with > (Rmagick). Can any one tell me a Linux distro that supports these > software seamlessly? > > I have only used ubuntu and unbuntu server and all work flawlessl

Re: [Rails] Re: Installing ROR on ubuntu 10.04

2011-02-28 Thread radhames brito
On Mon, Feb 28, 2011 at 7:58 AM, Karthikeyan wrote: > What about Rmagick / imagemagickl? It needs to be compiled natively. > Will it work smoothly with RVM? > > sometimes rvm is unable to properly point at some libraries/binary in your system and wont be able to use , for example , readline becau

[Rails] Re: Installing ROR on ubuntu 10.04

2011-02-28 Thread Karthikeyan
What about Rmagick / imagemagickl? It needs to be compiled natively. Will it work smoothly with RVM? On Feb 27, 7:05 pm, radhames brito wrote: > > Is there any advantage using rvm? > > in ruby, as in many languages you can have conflict between libraries, also > since rails and ruby are open, gem

Re: [Rails] Displaying git branch in the bash prompt - Ubuntu

2011-02-28 Thread Mickael Gerard
On 28 February 2011 02:37, dana tassler wrote: > I'm looking to display my current git branch in the bash prompt. > If you are using zsh, take a look at "oh my zsh" : https://github.com/robbyrussell/oh-my-zsh -- You received this message because you are subscribed to the Google Groups "Ruby o

[Rails] Re: RubyOnRails on Google Summer of Code

2011-02-28 Thread kondor...@gmail.com
http://www.google-melange.com/document/show/gsoc_program/google/gsoc2011/timeline This is the link. On Feb 28, 9:20 am, "kondor...@gmail.com" wrote: > Hi Guys, there will be someone who want to submit application to > Google for new Google summer of code (Google > melange:http://www.google-mel

[Rails] Best Linux distro to code Rails

2011-02-28 Thread Karthikeyan
Hello Group, I want to start a project that uses Rails 3 and ruby 1.9.2 . with (Rmagick). Can any one tell me a Linux distro that supports these software seamlessly? -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group,

Re: [Rails] Displaying git branch in the bash prompt - Ubuntu

2011-02-28 Thread Michael Pavling
On 28 February 2011 01:37, dana tassler wrote: > I'm looking to display my current git branch in the bash prompt. Probably best to ask on a Git list... sure lots of Rails users are Git users, but all Git list subscribers are :-) http://groups.google.com/group/git-users -- You received this mes

[Rails] RubyOnRails on Google Summer of Code

2011-02-28 Thread kondor...@gmail.com
Hi Guys, there will be someone who want to submit application to Google for new Google summer of code (Google melange: http://www.google-melange.com/document/show/gsoc_program/google/gsoc2011/timeline)? I'm a student, and I want to participate :) -- You received this message because you are subs

Re: [Rails] Re: [ANN] Rails 3.0.5 has been released!

2011-02-28 Thread dana tassler
Use google? http://www.ruby-forum.com/topic/149431 On Sun, Feb 27, 2011 at 8:50 PM, Mallika Kamat wrote: > I'm new to rails and i want to use mysql with rails 3.0.5 on windows 7. > When I run the command > rake db:create > I get a pop up box saying that SQLite3.dll is missing. > > What should I

[Rails] Displaying git branch in the bash prompt - Ubuntu

2011-02-28 Thread dana tassler
I'm looking to display my current git branch in the bash prompt. I can come close by following these instructions, but it does not display the branch. http://railstips.org/blog/archives/2009/02/02/bedazzle-your-bash-prompt-with-git-info/ Would any of you happen to know how to do this? Thank yo

Re: [Rails] Re: Installing ROR on ubuntu 10.04

2011-02-28 Thread Mitin Rai
thanks for this its serious learning and programing of ror from myside... anymore suggestions On Mon, Feb 28, 2011 at 8:17 AM, radhames brito wrote: > > > On Sun, Feb 27, 2011 at 10:38 PM, Mitin Rai wrote: > >> do i need this if i am new to ror and developing my first project in ror. >> >> > If

[Rails] Re: How to require all directories and sub-directories

2011-02-28 Thread Usman Hussain
ahhh brilliant. Thanks for that. I did something a bit similar but had all the folder names in an arry getting passed in. But that was a bit messy looking. So your solution works a treat. Thanks for your help. Kind regards, Usman Hussain On Feb 26, 5:07 am, "t.pickett66" wrote: > On Feb 25, 8:

Re: [Rails] attrs_accessible.

2011-02-28 Thread Colin Law
On 28 February 2011 04:01, Bhasker Harihara wrote: > > > On Sat, Feb 26, 2011 at 10:12 PM, Colin Law wrote: >> >> On 26 February 2011 14:31, Mauro wrote: >> > I know it's a good practice setting attr_accesible for models. >> > As an example if I have a model with admin: boolean attribute and if