[Rails] What ebook do you recommend about Facebook app on Rails?

2011-04-22 Thread ndgiang84
I'm new to Facebook app, finding a good ebook to follow. I did a search and found some old book from 2008, 2009, is there any newer ebooks on this stuff? Please recommend. Thanks. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to

[Rails] Implementing a tagging system in Rails

2011-04-22 Thread Kevin Pang
This is a copy/paste from my question over at StackOverflowhttp://stackoverflow.com/questions/5750963/implementing-a-tagging-system-in-railsso feel free to answer there if you want some reputation. I'm trying to implement a tagging system in a Rails app similar to the one StackOverflow uses

[Rails] help with rspec and javascript.

2011-04-22 Thread Mauro
I want to test an action called with javascript. The action is: def index unless params[:customer_full_name].blank? full_name = params[:customer_full_name] @customers = Customer.search_full_name(full_name).paginate(:per_page = 10, :page = params[:page]) else @customers =

[Rails] Convert this Php code to ruby on rails

2011-04-22 Thread carlo bation
$_SESSION[userpwd] = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($cryptokey), $_POST['password'], MCRYPT_MODE_CBC, md5(md5($cryptokey;; Thanks. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails:

[Rails] Error : Could not find gem 'hpricot', required by 'remit', in any of the sources

2011-04-22 Thread News Aanad
I want to integrate Amazon's FPS service using remit gem. I have successfully installed the remit gem but when I am trying to run server it gives me the following error: Could not find gem 'hpricot', required by 'remit', in any of the sources Installed gems: 1)relax (0.0.7) 2)remit (2.0.1)

[Rails] Re: rake db:create fails

2011-04-22 Thread T.ragahvendra Shet
Hello My understanding is rails 3 does not have good binding with MySql2 adapter. so i would suggest you create database explicitly using regular sql and try to run rake db:migrate. Second problem could be your mysql version; not sure which versions are well supported. but yes if you try

[Rails] Re: I need help for Gem installation required root password on ubuntu

2011-04-22 Thread T.ragahvendra Shet
Hello If you are a sudo user then you cannot get the password but yes you can set new password for root. use passwd root new password confirm new password then do su root password Not sure if this is what you are looking for. Thanks Raghavendra -- Posted via

[Rails] Re: I need help for Gem installation required root password on ubuntu

2011-04-22 Thread hoboy Hoboy
yes T.ragahvendra Shet it was the problem is solved. -- 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

[Rails] Re: Unable to install Rails through proxy

2011-04-22 Thread T.ragahvendra Shet
Hello You can use a gem called rubysspi which could be downloaded from rubygems.org then install it - it has no dependecies now only for windows - copy the spa.rb file from your gems/rubysspi/spa.rb(if not here do find in the gem folder will get it). copy and paste it in

[Rails] rvm + capistrano + gitosis

2011-04-22 Thread Mike C
I don't know how people do it, but I'm having huge headaches getting these things to work with each other. At the moment, doing a cap deploy:setup gives me this error: /Users/mikool/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/ capistrano-2.5.19/lib/capistrano/recipes/deploy.rb:55:in `join': can't

[Rails] Re: whyt should i use mongrel_cluster ?

2011-04-22 Thread T.ragahvendra Shet
Hello Development - only webrick mongrel Production - Mongrel cluster features - Load balancing - request sharing - Starts with one simple command - restarts stops - Creates a PID file so you can kill process - runs in daemon mode Now if you are planning to deploy some app for least 30

[Rails] Re: best practices for debugging errors on production mode on server

2011-04-22 Thread T.ragahvendra Shet
Hello Use the following - production log analyser - newrelic - fiveruns - yslow - httpperf - exception notification check if you have pagination gem or plugin regards -Raghavendra -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

[Rails] how to start/stop server

2011-04-22 Thread Adel M.
hi, i'm a new user of ROR, and i find some probleme to manipulate threads. so, i have two ROR app runing in m computer,the first is for exemple Diaspora* and the second the app that im writing to administrate Diaspora server. so i want from the adminstration panel, start/stop Diaspora server. i

Re: [Rails] i-pay integration with ROR

2011-04-22 Thread shahroon ali
Thanks Greg, AM does not support i-pay. Anyways i am working on my own backend. On Thu, Apr 21, 2011 at 8:49 PM, Gregory Seidman gsslist+...@anthropohedron.net wrote: On Thu, Apr 21, 2011 at 06:32:32PM +0500, shahroon ali wrote: Just wanna know if any one has ever implemented i-pay with

Re: [Rails] Implementing a tagging system in Rails

2011-04-22 Thread Jim Ruther Nill
On Fri, Apr 22, 2011 at 8:09 AM, Kevin Pang kpang...@gmail.com wrote: This is a copy/paste from my question over at StackOverflowhttp://stackoverflow.com/questions/5750963/implementing-a-tagging-system-in-railsso feel free to answer there if you want some reputation. I'm trying to

[Rails] Re: How to change the url (from localhostL:3000) to (example.com)

2011-04-22 Thread amrit pal pathak
On Apr 21, 11:54 am, Alex Katebi alex.kat...@gmail.com wrote: Start your rails server with http default port 80: rails server -p 80 Now example.com should work. I don't why people write three pages of information without answering you anything :) Thank you very much. It helped

Re: [Rails] Re: whyt should i use mongrel_cluster ?

2011-04-22 Thread Peter De Berdt
On 22 Apr 2011, at 10:52, T.ragahvendra Shet wrote: Development - only webrick mongrel Production - Mongrel cluster features - Load balancing - request sharing - Starts with one simple command - restarts stops - Creates a PID file so you can kill process - runs in daemon mode Now if you

[Rails] How to connect a form to database ?

2011-04-22 Thread amrit pal pathak
I am very new to ROR.I created a simple form using controller and view as script/generate controller form myfun Now i edit myfun.html.erb file inside /app/view/form and added following contents to the file to make a simple form html h1 Student Auditorium Management Project /h1body

Re: [Rails] How to connect a form to database ?

2011-04-22 Thread Peter De Berdt
On 22 Apr 2011, at 15:07, amrit pal pathak wrote: Here i want 2 things as 1) Now i want to create a table and want to connect this form to that,so that when i click on submit after filling filelds ,entries should go in database.I am running rails 2.3.5 under deveolpment enviornment. 2)

[Rails] Re: How to change the url (from localhostL:3000) to (example.com)

2011-04-22 Thread amrit pal pathak
On Apr 22, 7:58 am, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 21, 11:54 am, Alex Katebi alex.kat...@gmail.com wrote: Start your rails server with http default port 80: rails server -p 80 Now example.com should work. I don't why people write three pages of information

[Rails] Re: How to connect a form to database ?

2011-04-22 Thread amrit pal pathak
On Apr 22, 9:13 am, Peter De Berdt peter.de.be...@pandora.be wrote: On 22 Apr 2011, at 15:07, amrit pal pathak wrote: Here i want 2 things as  1)   Now i want to create a table and want to connect this form to that,so that when i click on submit after filling filelds ,entries should go

[Rails] yaml dump of db to be used for creating records

2011-04-22 Thread Erwin
I have an array of Hash to be used for creating records in db with this format : geo_areas.first = {id=1, areaOrder=1, areaName=Europe, areaCode=EUR, areaEnabled=1} I'll loop over the geo_areas array to create all records .. but I need to use the 'id' key as the :id of my records upon creation

[Rails] Re: rake db:create fails

2011-04-22 Thread Darlan Machado
Raghavendra, I think so. I´d remove the mysql 5.5 and install the 5.1 version, then, the error has been changed. I didn´t save the log file, so, i can´t to tell about it. But, considering the possibility of incompatibility between the rails 3 and mysql2 adapter, well, there are so many

[Rails] Re: Unable to find out proper document to integrating Salesforce with Rails

2011-04-22 Thread sreehari
Hi I treid using rails 2.3.8 and ruby 1.9. Rails console is opening correctly but when i trid to run my project it is giving following error. C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.8/lib/ active_record/connection_adapters/abstract/connection_specification.rb: 76:in `rescue in

Re: [Rails] yaml dump of db to be used for creating records

2011-04-22 Thread Jim Ruther Nill
On Fri, Apr 22, 2011 at 9:26 PM, Erwin yves_duf...@mac.com wrote: I have an array of Hash to be used for creating records in db with this format : geo_areas.first = {id=1, areaOrder=1, areaName=Europe, areaCode=EUR, areaEnabled=1} I'll loop over the geo_areas array to create all records

[Rails] Re: yaml dump of db to be used for creating records

2011-04-22 Thread Erwin
Thanks Jim I am using a specific seed.rb script to seed the database from scratch , as it clean the tables it's not so important, the id auto- generated in sequence. If the table is not empty (let's assume 12 records) , then the first hash will have the id : 13 despite the fact that there is an

Re: [Rails] Connecting to MSSQL with Ruby on Ubuntu

2011-04-22 Thread Bryan Crossland
On Thu, Apr 21, 2011 at 7:01 AM, DHAMODHARAN N dhams...@gmail.com wrote: *Hello **Bryan Crossla*n, * As per the information what they are mentioned in this link http://lambie.org/2008/02/28/connecting-to-an-mssql-database-from-ruby-on-ubuntu/* *configured. Initially i can able to access

Re: [Rails] Implementing a tagging system in Rails

2011-04-22 Thread Kevin Pang
I don't think this is true. According to the Rails APIhttp://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html#M000645, this is what collection.delete does with a has_and_belongs_to_many association: Removes one or more objects from the collection by removing their

Re: [Rails] Re: Rails 2.3.11 and carrierwave, can't find generator

2011-04-22 Thread Bryan Crossland
On Thu, Apr 21, 2011 at 9:53 AM, sol.manager sol.mana...@gmail.com wrote: I should be more clear and state that I am using carrierwave 0.4.10 which is supposed to work with Rails 2.x and is past the carrierwave release that did have missing files. I built a blank Rails 3 app using the 0.5x

Re: [Rails] Implementing a tagging system in Rails

2011-04-22 Thread Kevin Pang
Just to be sure though, I've changed that line to be: tags.clear This seems cleaner anyways, and the Rails API explicitly states that calling this will not delete the objects themselves, only the association. -- You received this message because you are subscribed to the Google Groups Ruby

Re: [Rails] rvm + capistrano + gitosis

2011-04-22 Thread Bryan Crossland
On Fri, Apr 22, 2011 at 3:15 AM, Mike C snib...@gmail.com wrote: I don't know how people do it, but I'm having huge headaches getting these things to work with each other. At the moment, doing a cap deploy:setup gives me this error: /Users/mikool/.rvm/gems/ree-1.8.7-2011.03@rails3/gems/

Re: [Rails] Re: How to connect a form to database ?

2011-04-22 Thread Bryan Crossland
On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 22, 9:13 am, Peter De Berdt peter.de.be...@pandora.be wrote: On 22 Apr 2011, at 15:07, amrit pal pathak wrote: Here i want 2 things as 1) Now i want to create a table and want to connect

[Rails] Re: Convert this Php code to ruby on rails

2011-04-22 Thread Robert Walker
carlo bation wrote in post #994454: $_SESSION[userpwd] = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($cryptokey), $_POST['password'], MCRYPT_MODE_CBC, md5(md5($cryptokey;; Maybe this article will help: http://blog.rapleaf.com/dev/2009/02/19/ruby-and-mcrypt/ As it says at the

Re: [Rails] Re: rake db:create fails

2011-04-22 Thread Bryan Crossland
On Fri, Apr 22, 2011 at 8:29 AM, Darlan Machado li...@ruby-forum.comwrote: Raghavendra, I think so. I´d remove the mysql 5.5 and install the 5.1 version, then, the error has been changed. I didn´t save the log file, so, i can´t to tell about it. But, considering the possibility of

Re: [Rails] Re: How to connect a form to database ?

2011-04-22 Thread Colin Law
On 22 April 2011 15:40, Bryan Crossland bacrossl...@gmail.com wrote: On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 22, 9:13 am, Peter De Berdt peter.de.be...@pandora.be wrote: On 22 Apr 2011, at 15:07, amrit pal pathak wrote: Here i want 2

Re: [Rails] Re: Unable to find out proper document to integrating Salesforce with Rails

2011-04-22 Thread Bryan Crossland
On Fri, Apr 22, 2011 at 8:30 AM, sreehari sreehari0...@gmail.com wrote: Hi I treid using rails 2.3.8 and ruby 1.9. Rails console is opening correctly but when i trid to run my project it is giving following error. C:/Ruby192/lib/ruby/gems/1.9.1/gems/activerecord-2.3.8/lib/

[Rails] Re: How to change the url (from localhostL:3000) to (example.com)

2011-04-22 Thread Kendall Gifford
i dont know why but script/server -p 80 gives error me now as amrit@ubuntu:~/amritdemo$ script/server -p 80 = Booting WEBrick = Rails 2.3.5 application starting on http://0.0.0.0:80 = Call with -d to detach = Ctrl-C to shutdown server [2011-04-22 09:20:01] INFO WEBrick

[Rails] Re: How to connect a form to database ?

2011-04-22 Thread amrit pal pathak
On Apr 22, 10:40 am, Bryan Crossland bacrossl...@gmail.com wrote: On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 22, 9:13 am, Peter De Berdt peter.de.be...@pandora.be wrote: On 22 Apr 2011, at 15:07, amrit pal pathak wrote: Here i

Re: [Rails] R: [ANN] Rails 3.0.7 has been released!

2011-04-22 Thread Aaron Patterson
On Mon, Apr 18, 2011 at 03:44:22PM -0700, Manuele Dones wrote: Great! I'm updating the gems... So if i've done a project using rails 3.0.6 and now i'm updating gems to rails 3.0.7, what I've to do inside my project? Should I change the Gem file inside my project, from rails 3.0.6 to rails

Re: [Rails] R: [ANN] Rails 3.0.7 has been released!

2011-04-22 Thread Aaron Patterson
On Mon, Apr 18, 2011 at 03:52:46PM -0700, Manuele Dones wrote: ...and another question ;-) I've noticed running *gem list *that on my system I've both rails 3.0.6 and 3.0.7, and the same for activerecord, activesupport, etc etc... Is there a problem? is there a way to clean up older

Re: [Rails] Re: How to connect a form to database ?

2011-04-22 Thread Colin Law
On 22 April 2011 17:00, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 22, 10:40 am, Bryan Crossland bacrossl...@gmail.com wrote: On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak amritpalpath...@gmail.com ... http://guides.rubyonrails.org/getting_started.html        Thats what i

Re: [Rails] Re: How to connect a form to database ?

2011-04-22 Thread Bryan Crossland
On Fri, Apr 22, 2011 at 11:00 AM, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 22, 10:40 am, Bryan Crossland bacrossl...@gmail.com wrote: On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 22, 9:13 am, Peter De

[Rails] Simple ruby syntax: variable assignment

2011-04-22 Thread David Kahn
Just curious if there is a more elegant way to set a variable if it happens to not exist yet. I often find I am doing somthing like the following: regex = '' 10.times { regex += '.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*\n' } Is there some prettier way to within the second line create

[Rails] Re: How to connect a form to database ?

2011-04-22 Thread amrit pal pathak
On Apr 22, 12:27 pm, Bryan Crossland bacrossl...@gmail.com wrote: On Fri, Apr 22, 2011 at 11:00 AM, amrit pal pathak amritpalpath...@gmail.com wrote: On Apr 22, 10:40 am, Bryan Crossland bacrossl...@gmail.com wrote: On Fri, Apr 22, 2011 at 8:23 AM, amrit pal pathak

Re: [Rails] Re: How to connect a form to database ?

2011-04-22 Thread Colin Law
On 22 April 2011 17:41, amrit pal pathak amritpalpath...@gmail.com wrote: ...        During scaffold,i got a error.Should i discuss that here or somewhere else ?? Start a new thread with an appropriate subject. Post the command you are entering and the complete error message and stack trace

[Rails] undefined method 'match' with the Linkedin Gem

2011-04-22 Thread Bruno Amaral
I have been building a small app to import a cv from linkedin. Displaying the information is working out perfect, but saving it to the database is turning out to be a challenge. The full source code is at https://github.com/brunoamaral/lwork and the source code of the import function is as

Re: [Rails] undefined method 'match' with the Linkedin Gem

2011-04-22 Thread Colin Law
On 22 April 2011 18:09, Bruno Amaral m...@brunoamaral.eu wrote: I have been building a small app to import a cv from linkedin. Displaying the information is working out perfect, but saving it to the database is turning out to be a challenge. ... When running it, I get the message: undefined

[Rails] Re: Convert this Php code to ruby on rails

2011-04-22 Thread Kendall Gifford
On Friday, April 22, 2011 2:09:08 AM UTC-6, Ruby-Forum.com User wrote: $_SESSION[userpwd] = base64_encode(mcrypt_encrypt(MCRYPT_RIJNDAEL_256, md5($cryptokey), $_POST['password'], MCRYPT_MODE_CBC, md5(md5($cryptokey;; Thanks. I don't know if you just need help doing equivalent crypto

[Rails] Re: Convert this Php code to ruby on rails

2011-04-22 Thread Kendall Gifford
On Friday, April 22, 2011 11:54:00 AM UTC-6, Kendall Gifford wrote: ... then I'd use OpenSSL (through the OpenSSL gem). Woops, did I say OpenSSL gem? That'd be the OpenSSL class in the standard library: http://www.ruby-doc.org/stdlib/libdoc/openssl/rdoc/index.html -- You received this

[Rails] Re: Simple ruby syntax: variable assignment

2011-04-22 Thread Kendall Gifford
On Friday, April 22, 2011 10:32:35 AM UTC-6, DK wrote: Just curious if there is a more elegant way to set a variable if it happens to not exist yet. I often find I am doing somthing like the following: regex = '' 10.times { regex += '.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*,.*\n' }

Re: [Rails] Re: Simple ruby syntax: variable assignment

2011-04-22 Thread David Kahn
On Fri, Apr 22, 2011 at 1:15 PM, Kendall Gifford zettab...@gmail.comwrote: On Friday, April 22, 2011 10:32:35 AM UTC-6, DK wrote: Just curious if there is a more elegant way to set a variable if it happens to not exist yet. I often find I am doing somthing like the following: regex =

[Rails] ActionMailer : Not able to send out mails

2011-04-22 Thread Shashank
Hello, I have the following code in my environment/development.rb config.action_mailer.raise_delivery_errors = true; config.action_mailer.delivery_method = :smtp; config.action_mailer.smtp_settings = { :address = smtp.gmail.com, :port = 587, :user_name = my...@gmail.com, :password

[Rails] Re: yaml dump of db to be used for creating records

2011-04-22 Thread Frederick Cheung
On Apr 22, 2:26 pm, Erwin yves_duf...@mac.com wrote: I have an array of Hash to be used for creating records in db  with this format : geo_areas.first  = {id=1, areaOrder=1, areaName=Europe, areaCode=EUR, areaEnabled=1} I'll loop over the geo_areas array to create all records .. but I

Re: [Rails] Re: Simple ruby syntax: variable assignment

2011-04-22 Thread Jazmin
I guess you could do something like this: x = defined?(x) ? x+=string : You can assign a value to a variable if it doesn't exist like this: s ||= but in your case you want to use the operand + so the string needs to exist. Also an alternative for the loop example regex = '' 10.times {

[Rails] Re: Convert this Php code to ruby on rails

2011-04-22 Thread Frederick Cheung
On Apr 22, 6:56 pm, Kendall Gifford zettab...@gmail.com wrote: On Friday, April 22, 2011 11:54:00 AM UTC-6, Kendall Gifford wrote: ... then I'd use OpenSSL (through the OpenSSL gem).  Woops, did I say OpenSSL gem? That'd be the OpenSSL class in the standard

[Rails] cleaning up older rails installs on Mac OS X Snow Leapord

2011-04-22 Thread sol.manager
I am currently wanting to cleanup my gems so that i end up with Rails 2.3.11 and Rails 3.0.x. While working on this I notice I cannot uninstall some Rails versions from command line. I ran the following and wonder if it is safe for me to remove Rails 1.2.6, 2.2.2 and 2.3.5 versions from these

Re: [Rails] Re: Simple ruby syntax: variable assignment

2011-04-22 Thread David Kahn
On Fri, Apr 22, 2011 at 1:42 PM, Jazmin jazminschroe...@gmail.com wrote: I guess you could do something like this: x = defined?(x) ? x+=string : Thanks Jazmin, this is the kind of thing I was looking for although I guess in the end it is probably less readable than just assigning the

Re: [Rails] cleaning up older rails installs on Mac OS X Snow Leapord

2011-04-22 Thread David Kahn
On Fri, Apr 22, 2011 at 2:06 PM, sol.manager sol.mana...@gmail.com wrote: I am currently wanting to cleanup my gems so that i end up with Rails 2.3.11 and Rails 3.0.x. While working on this I notice I cannot uninstall some Rails versions from command line. I ran the following and wonder if it

Re: [Rails] cleaning up older rails installs on Mac OS X Snow Leapord

2011-04-22 Thread David Kahn
On Fri, Apr 22, 2011 at 2:51 PM, David Kahn d...@structuralartistry.comwrote: On Fri, Apr 22, 2011 at 2:06 PM, sol.manager sol.mana...@gmail.comwrote: I am currently wanting to cleanup my gems so that i end up with Rails 2.3.11 and Rails 3.0.x. While working on this I notice I cannot

[Rails] TextMate vs EMACS vs RadRails

2011-04-22 Thread Rodrigo Ruiz
Hi everyone, I'm new to web programming, actually I haven't even started yet, but I intend to do it with Ruby on Rails. So my question is, which of the 3, TextMate, EMACS or RadRails, would you choose, and why? And can I build and run codes on TextMate and EMACS? -- You received this message

[Rails] Best hosting for Rails ?

2011-04-22 Thread Bartek Iwaszkiewicz
Hi. I need advise which hosting server is the best. I mean good support, failure-free, supporting Rails 3, mysql or postgresql http://www.postgresql.org/and so on. Possibly in Europe, might be other region if has good(easy) payment options. Thanks in advance. -- You received this

[Rails] Re: Subdomain in Rails3

2011-04-22 Thread beren
Or, you could point your browser to http://lvh.me:3000/. Or http://smackaho.st:3000/. Both of those are wildcard localhost redirectors that will resolve any subdomain to 127.0.0.1. On Apr 21, 3:23 pm, Alex Katebi alex.kat...@gmail.com wrote: Manoj,    Changing the hosts file for subdomains

[Rails] Re: cleaning up older rails installs on Mac OS X Snow Leapord

2011-04-22 Thread beren
I just ran into this last night. Since I use rvm for my gems now, I ended up using 'gem uninstall rails' (outside of rvm) and choosing to uninstall all of the available versions. I manually nuked the gem repos under /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/ lib/ruby/gems/1.8.

Re: [Rails] Best hosting for Rails ?

2011-04-22 Thread jason white
i'm not sure how it works from Europe, but Heroku is super easy for Rails. Jason On Fri, Apr 22, 2011 at 3:09 PM, Bartek Iwaszkiewicz bartek.iwaszkiew...@gmail.com wrote: Hi. I need advise which hosting server is the best. I mean good support, failure-free, supporting Rails 3, mysql or

[Rails] Any way to change the size of a checkbox ??

2011-04-22 Thread Bob Smith
They are tiny on my display and a bigger one would be easier for my users to find/use. This is for rails 2 3. I am using 2 now, but upgrading to 3 as we speak.. Thanks Bob bsm...@gmail.com -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group.

Re: [Rails] TextMate vs EMACS vs RadRails

2011-04-22 Thread Paul
This is a holy war that starts up about every other week on this list. You'll find people insisting that their favorite development environment is better than anyone else's. It depends on how you prefer to work. I personally find it most productive and satisfying using RubyMine. I end up googling

Re: [Rails] Any way to change the size of a checkbox ??

2011-04-22 Thread Colin Law
On 22 April 2011 21:53, Bob Smith bsm...@gmail.com wrote: They are tiny on my display and a bigger one would be easier for my users to find/use. This is for rails 2 3. I am using 2 now, but upgrading to 3 as we speak.. You can change it using css. Google for css checkbox size for examples

[Rails] Re: cleaning up older rails installs on Mac OS X Snow Leapord

2011-04-22 Thread sol.manager
I have been using RVM, Homebrew and POW in combination with projects using Rails 2.3.11 retrofitted with Bundler and then separate projects using Rails 3.0.x. Between my homebrew installs of MySQL, POW and passenger issues depending on whether you use RVM and/or try to use Rails 2.3.11 It has

[Rails] Re: undefined method 'match' with the Linkedin Gem

2011-04-22 Thread Bruno Amaral
The error message mentions line 44: @user.positions @cv.positions @user.positions.save the full output is here: http://dl.dropbox.com/u/109441/errormessagerails.html @cv.positions is an array, so from what you're telling me it should not use match as a method. On Apr 22, 6:38 

[Rails] Re: Convert this Php code to ruby on rails

2011-04-22 Thread Kendall Gifford
On Friday, April 22, 2011 1:01:28 PM UTC-6, Frederick Cheung wrote: The ezcrypto gem is way easier to use, unless you happen to be used to using the openssl C api Fred Yeah, I'd agree with that (used it on one project a while back). I couldn't remember the name of it though. -- You

Re: [Rails] TextMate vs EMACS vs RadRails

2011-04-22 Thread jason white
+1 for RubyMine by the way, it's on sale until this Sunday for 50% off On Fri, Apr 22, 2011 at 3:56 PM, Paul p...@nines.org wrote: This is a holy war that starts up about every other week on this list. You'll find people insisting that their favorite development environment is better than

[Rails] rake aborted! error

2011-04-22 Thread Garnash
Hi everyone, on any rake command i have error: rake aborted! no such file to load -- bundler/setup /home/snater/railsapps/seoclub/config/boot.rb:6:in `require' /home/snater/railsapps/seoclub/config/boot.rb:6:in `' /home/snater/railsapps/seoclub/config/application.rb:1:in `require'

Re: [Rails] TextMate vs EMACS vs RadRails

2011-04-22 Thread Rodrigo Ruiz
Thank you for the tip guys, when I have some time to finally start my web programming i'll try it out. Tell me something, can I write HTML code with RubyMine to make a simple web page? I'm asking that cause that's the first thing I'm learning, HTML. -- You received this message because you are

[Rails] Re: TextMate vs EMACS vs RadRails

2011-04-22 Thread Robert Walker
Rodrigo Ruiz wrote in post #994581: Thank you for the tip guys, when I have some time to finally start my web programming i'll try it out. Tell me something, can I write HTML code with RubyMine to make a simple web page? I'm asking that cause that's the first thing I'm learning, HTML. You

Re: [Rails] TextMate vs EMACS vs RadRails

2011-04-22 Thread Bryan Crossland
Sent from my iPhone On Apr 22, 2011, at 5:19 PM, Rodrigo Ruiz rodrigo.ru...@gmail.com wrote: Thank you for the tip guys, when I have some time to finally start my web programming i'll try it out. Tell me something, can I write HTML code with RubyMine to make a simple web page? I'm

Re: [Rails] TextMate vs EMACS vs RadRails

2011-04-22 Thread David Kahn
On Fri, Apr 22, 2011 at 5:39 PM, Bryan Crossland bacrossl...@gmail.comwrote: Sent from my iPhone On Apr 22, 2011, at 5:19 PM, Rodrigo Ruiz rodrigo.ru...@gmail.com wrote: Thank you for the tip guys, when I have some time to finally start my web programming i'll try it out. Tell me

[Rails] Re: Rails 3.0 Internal Server Error - Not Enough Space

2011-04-22 Thread Payal Patel
Hi, I solved this bug. Actually this was an Window XP and ruby 187 issue. The rails console executes on Windows command prompt. The command prompt had some limitations on String limit to be displayed on the cmd console. The fix was as follows: class String def to_2d_array(value)

Re: [Rails] Re: How to change the url (from localhostL:3000) to (example.com)

2011-04-22 Thread radhames brito
Edit the host file of your os to make example.com point a 127.0.0.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 rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to

Re: [Rails] rake aborted! error

2011-04-22 Thread Phil Crissman
On Fri, Apr 22, 2011 at 4:26 PM, Garnash garmash.niko...@gmail.com wrote: Hi everyone, on any rake command i have error: rake aborted! no such file to load -- bundler/setup /home/snater/railsapps/seoclub/config/boot.rb:6:in `require' /home/snater/railsapps/seoclub/config/boot.rb:6:in `'

Re: [Rails] Implementing a tagging system in Rails

2011-04-22 Thread Jim Ruther Nill
On Fri, Apr 22, 2011 at 10:20 PM, Kevin Pang kpang...@gmail.com wrote: Just to be sure though, I've changed that line to be: tags.clear this sure make things clearer. i should've checked the api before i commented. This seems cleaner anyways, and the Rails API explicitly states that

Re: [Rails] TextMate vs EMACS vs RadRails

2011-04-22 Thread Pedro Bernardes
love emacs =] 2011/4/22 David Kahn d...@structuralartistry.com On Fri, Apr 22, 2011 at 5:39 PM, Bryan Crossland bacrossl...@gmail.comwrote: Sent from my iPhone On Apr 22, 2011, at 5:19 PM, Rodrigo Ruiz rodrigo.ru...@gmail.com wrote: Thank you for the tip guys, when I have some time to

[Rails] Re: How to connect a form to database ?

2011-04-22 Thread amrit pal pathak
On Apr 22, 12:48 pm, Colin Law clan...@googlemail.com wrote: On 22 April 2011 17:41, amrit pal pathak amritpalpath...@gmail.com wrote: ...        During scaffold,i got a error.Should i discuss that here or somewhere else ?? Start a new thread with an appropriate subject.  Post the