Re: [Rails] heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"

2012-10-05 Thread Colin Law
On 5 October 2012 21:41, mukul saharia wrote: > How to empty DB in heroku > I have a Postgres database on Heroku. It is one of the free beta ones. > Locally, when testing, I often run rake db:drop && rake db:create && rake > db:migrate as a way to reset the database. > However, when I try to run t

[Rails] rails 3.2 question/answer with a through table

2012-10-05 Thread Me
I have a person has many questions through person_questions. I have an extra column in the join table for the answer. The section below works for a new submit but when I edit I get 3 each with the first 2 of each selected tand the third not so I get 6 check boxes some selected some not. Is th

Re: [Rails] Re: IDE

2012-10-05 Thread Manish Chakravarty
Hello, I have used RubyMine and IntelliJ as IDE's in the past. As a former Mac user, I used to use TextMate. I am currently using Emacs - it is not an IDE - but it does everything I need to. 1. Tag completion using Etags - this is the fancy autocomplete offered by many IDE's 2. Good navigation u

[Rails] Re: Is Rails Logger Thread Safe?

2012-10-05 Thread Frederick Cheung
On Friday, October 5, 2012 4:51:26 PM UTC+1, Brandon Mathis wrote: > > Is Rails Logger truly not Thread Safe? > http://log.kares.org/2011/04/railslogger-is-not-threadsafe.html > > This seems like an issue that should have been picked up quite a long time > ago. I just set config.threadsafe! in

[Rails] heroku rake db:drop error PG::Error: FATAL: permission denied for database "postgres"

2012-10-05 Thread mukul saharia
How to empty DB in heroku I have a Postgres database on Heroku. It is one of the free beta ones. Locally, when testing, I often run rake db:drop && rake db:create && rake db:migrate as a way to reset the database. However, w

Re: [Rails] RoR performance

2012-10-05 Thread Brett McHargue
Yes, what is good for goose is not necessarilly good for a very large gander... or something like that. The important thing when starting out is just shipping it - and it's a lot easier to do that with RoR. Brett On Fri, Oct 5, 2012 at 10:41 AM, Peter Hickman wrote: > When you get to the size o

[Rails] Is Rails Logger Thread Safe?

2012-10-05 Thread Brandon Mathis
Is Rails Logger truly not Thread Safe? http://log.kares.org/2011/04/railslogger-is-not-threadsafe.html This seems like an issue that should have been picked up quite a long time ago. I just set config.threadsafe! in my config/application.rb and my log output from rails server has completely di

Re: [Rails] New in town

2012-10-05 Thread gsw
A lot of people tweet and G+, etc. now but unless you are into that here are a few: Rails: http://www.rubyinside.com/ http://jonathanleighton.com/articles/ http://yehudakatz.com/ (now mostly Ember and not much on the blog recently) http://tenderlovemaking.com/ http://broadcastingadam.com/ http://

[Rails] pure Ruby on Rails or a template engine

2012-10-05 Thread roelof
Hello, As my first project I will try to make a site of my ( http://www.tamarawobben.nl) to a RoR site. Now my question is : Can I make this happens by using pure Ruby on Rails or can I better use a template engine? If the answer is a template engine. which will work the best for this sort of s

[Rails] Looking for Ruby on Rails Developers & Testers for Full time Job Opportunities

2012-10-05 Thread Gauri P.
Hi All, Am looking for ROR Developers & Testers for Full Time job opportunities. Below are the available job opportunities:- 1. Position: Lead/Senior Application Engineer Location: San Mateo, CA Duration: Fulltime/ Contract to Hire Requirements: Developed usable, responsive applications in Rub

Re: [Rails] RVM settings lost after every logout

2012-10-05 Thread chichibek bros
thanks BalaRaju Vankala the solution you posted worked great in two machines whit the same problem thanks all for the answers 2012/10/1 gsw > Something else to consider is whether you are running the config that you > assume that you are. > > Trying putting an echo into the startup script that c

[Rails] Looking for Ruby on Rails Developers & Testers for Full time Job Opportunities

2012-10-05 Thread Gauri P.
Hi All, Am looking for Ruby on Rails Developers and Testers for Full time Job Opportunities. Below are the available job opportunities:- 1. Position: Lead/Senior Application Engineer Location: San Mateo, CA Duration: Fulltime/ Contract to Hire Requirements: Developed usable, responsive applica

Re: [Rails] New in town

2012-10-05 Thread Richard McKenna
Yeah the Ruby Essential training is 1.8.6 and Ruby on Rails Essential training is 1.9.2 and 3.0.0. I've already been caught out by the changes to migrations but didn't really cause any problems after reading the rails guide on migrations. I'll be taking a look at all the suggestions tonight, I'

Re: [Rails] New in town

2012-10-05 Thread gsw
Yes, and that will be the same for railscasts, peepcode, and everything else. Things change quickly. But agree- I used to work somewhere that had access to Lynda and when I checked it their stuff was older, but like anything, maybe they have new content by the time you read this. On Friday, Oct

[Rails] Re: New in town

2012-10-05 Thread gsw
Online there is: http://guides.rubyonrails.org/ http://railscasts.com/ (but many not free, but worth it) https://peepcode.com/ (not free, but worth it) Most of what you run into you'll be able to google but note that things changed significantly from Rails 2 to 3 (and a lot between 3 and 3.1), a

Re: [Rails] New in town

2012-10-05 Thread Walter Lee Davis
On Oct 5, 2012, at 8:33 AM, Richard McKenna wrote: > Thanks guys, much appreciated. > I haven't tried them myself, but I've seen anecdotal evidence that the Lynda tutorials are using really old versions of Rails. Might be a good idea to go through railstutorial.org with an eye to "un-learning

Re: [Rails] cancan

2012-10-05 Thread Walter Lee Davis
On Oct 5, 2012, at 7:46 AM, Avi wrote: > Hello All, > > Does cancan works without fetching roles data from db? > Can we give permissions accordingly? > Can we configure those roles like enum classes in java or in any config file? The default setup (all I've ever done) is to configure the variou

[Rails] Re: Error while getting image from MSSQL database

2012-10-05 Thread Klaus G.
> "activerecord-sqlserver-adapter-1.0.0.9250" Wow this seems to be a very old version of the sqlserver adapter Could you please try it with the current version 2.3.24 ? See: https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/tree/2-3-stable -- Posted via http://www.ruby-forum.com

[Rails] Re: URI

2012-10-05 Thread Robert Walker
BalaRaju Vankala wrote in post #1078613: > Hello Every One > Can any one Explain URI::Regexp in Rails . I found one > thing for validation of website URI::Regexp(%w(http https)) > please Explain what i URI That expression simply matches URIs with either the http or

[Rails] Re: New in town

2012-10-05 Thread Richard McKenna
Thanks guys, much appreciated. On Friday, 5 October 2012 13:09:28 UTC+1, fuzzy wrote: > > This posting offers some options that you might find useful: > > http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/35451bac46677efc/d82de35d30d07d47?hl=en&lnk=gst&q=rob+connery#d82de35d30

[Rails] Re: Firebird adapter HELP?

2012-10-05 Thread Alejandro P.
Adrian Marius Popa wrote in post #1078698: > On Wednesday, October 3, 2012 10:37:26 PM UTC+3, Ruby-Forum.com User > wrote: >> >> Does anyone have an example of how to connect to a database and execute >> a simple query using Ruby? >> > > > I have explained at the end of the article > http://mapopa.

Re: [Rails] New in town

2012-10-05 Thread Noel
On Thu, Oct 4, 2012 at 2:52 PM, Richard McKenna wrote: > Hi all, > > I'm just stepping into the what seems the wonderful world of Ruby/Rails and > was just looking for some recommendations for reading materials, resources > etc. > > I am currently watching the Ruby Essential Training and Ruby on R

[Rails] Re: New in town

2012-10-05 Thread fuzzy
This posting offers some options that you might find useful: http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/35451bac46677efc/d82de35d30d07d47?hl=en&lnk=gst&q=rob+connery#d82de35d30d07d47 On Oct 4, 4:52 pm, Richard McKenna wrote: > Hi all, > > I'm just stepping into the what

[Rails] Re: IDE

2012-10-05 Thread Avi
Well, I got the settings which I wanted. I have set the default shortcut keys to eclipse shortcut keys in Rubymine & it works fine. Rubymine has an option which you can set the shortcut keys with respect to different IDE's & can create your own also. Now its easy to use. On Wednesday, October

[Rails] cancan

2012-10-05 Thread Avi
Hello All, Does cancan works without fetching roles data from db? Can we give permissions accordingly? Can we configure those roles like enum classes in java or in any config file? Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.

[Rails] Error while getting image from MSSQL database

2012-10-05 Thread Benjamin v.
I am trying to display an image stored in my MSSQL database in my Rails 2 application. As a test example I have written a C# application that displays the image on a form which works. So I know the image in my database is correct. However when I try to retrieve the image by the following code it g

Re: [Rails] RoR performance

2012-10-05 Thread Peter Hickman
When you get to the size of Twitter or LinkedIn then worry about it. Ambition is a good thing but don't let it get in the way of getting things done. -- 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 rub

[Rails] Ruby on rails consultant Needed....

2012-10-05 Thread Paritosh Sood
Hi, i have a position open with me in bloomington IL, any consultant/Developer having following skills can reach me for this position *Location: Schaumburg, IL* *Duration: 3-6 Months* *Skills Needed* *Technical* Hands on experience in “Ruby on rails”. Well versed with Rubyscripting, Javas

[Rails] Re: Firebird adapter HELP?

2012-10-05 Thread Adrian Marius Popa
On Wednesday, October 3, 2012 10:37:26 PM UTC+3, Ruby-Forum.com User wrote: > > Does anyone have an example of how to connect to a database and execute > a simple query using Ruby? > I have explained at the end of the article http://mapopa.blogspot.ro/2009/02/fireruby-howto-start-with-firebi

[Rails] RoR performance

2012-10-05 Thread Khai Doan
A few years ago, I heard a lot of good things about Ruby on Rails, but I haven't got opportunity or time to learn about RoR. I am starting a side project, therefore I am looking at using RoR. I came across a few articles that raise concern for me regarding the performance of RoR. First, Twitt

[Rails] New in town

2012-10-05 Thread Richard McKenna
Hi all, I'm just stepping into the what seems the wonderful world of Ruby/Rails and was just looking for some recommendations for reading materials, resources etc. I am currently watching the Ruby Essential Training and Ruby on Rails 3 Essential Training over at lynda.com which so far seem pre

[Rails] Re: Current threading model of Rails?

2012-10-05 Thread Frederick Cheung
Rails can do either (config.thread_safe! turns on multithreading, and will be the default in rails 4), but the deciding factor is what ruby implementation you use: MRI doesn't allow true concurrency in general (specific cases like blocking on IO, waiting for a mysql query do permit some concurr

Re: [Rails] Need suggestions: Plugin for ruby 1.9.3

2012-10-05 Thread Colin Law
On 5 October 2012 08:33, Rafi A wrote: > Hello Everyone, > > My rails application is executing currently in ruby 1.8.7 + rails 2.3.4 > combo and I am panning to migrate this to rails 2.3.4 + ruby 1.9.7 combo. > While doing so, in the first step, I have got some syntax errors in the > plugins which

[Rails] Need suggestions: Plugin for ruby 1.9.3

2012-10-05 Thread Rafi A
Hello Everyone, My rails application is executing currently in *ruby 1.8.7 + rails 2.3.4*combo and I am panning to migrate this to *rails 2.3.4 + ruby 1.9.7* combo. While doing so, in the first step, I have got some syntax errors in the plugins which requires me to manually go and fix that issue o