[Rails] Re: Issue while deploying to heroku with Rails 3.2.1, ruby 1.9.3-p0, using twitter/bootstrap.

2012-02-09 Thread Manoj W.
Thanks Noel, I tried that and got this error - rake aborted! couldn't find file 'twitter/bootstrap' (in .. /app/assets/javascripts/application.js:9) One of the lines in my application.js is //= require twitter/bootstrap Similarly application.css contains *= require twitter/bootstrap Do I need

Re: [Rails] An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.

2012-02-09 Thread qian alaska
Hi Colin, Thank your answer! I think you are right. I will recompile mysql with source package, and assign the directory of "lib,include,config" when the gem package installs. Thank you again! 2012/2/9 Colin Law > On 8 February 2012 12:59, alaska...@gmail.com wrote: > > error information o

[Rails] Re: how to get the model name of an AR instance

2012-02-09 Thread Erwin
as per your answer + Evaraldo's one : event.taskable.class.constantize.model_name on polymorphic works On Feb 10, 12:05 am, Peter Vandenabeele wrote: > On Thu, Feb 9, 2012 at 11:38 PM, Erwin wrote: > > I have a polymorphic class Event > > > class Event < ActiveRecord::Base > >  belongs_to :ta

[Rails] Re: how to get the model name of an AR instance

2012-02-09 Thread Erwin
thanks Everaldo that's it ... ( maybe the first time I use it... !) On Feb 9, 11:42 pm, Everaldo Gomes wrote: > See the method constantize. > > > > > > > > On Thu, Feb 9, 2012 at 8:38 PM, Erwin wrote: > > I have a polymorphic class Event > > > class Event < ActiveRecord::Base > >  belongs_to :ta

Re: [Rails] ruby script/server is not working

2012-02-09 Thread Greg Akins
On Fri, Feb 10, 2012 at 12:08 AM, Satvat Rani wrote: > hi everyone i just typed rails s and then after when i >> type again it is not working. i got this error > Since your'e not the original poster, I assume this is a separate issue? Did you create an app first and then 'cd' into that new direc

Re: [Rails] ruby script/server is not working

2012-02-09 Thread Satvat Rani
hi everyone i just typed rails s and then after when i > type again it is not working. i got this error Usage: rails new APP_PATH [options] Options: -r, [--ruby=PATH] # Path to the Ruby binary of your choice # Default: C:/RailsInstaller/Ruby1.9.

[Rails] unwanted symbol spreadsheet-excel (0.3.5.1) gem

2012-02-09 Thread selva raj
Hi, I am using the ruby version 1.8.while i export the excel sheet i found different symbol (company’s) instead of company's,i am using the gem spreadsheet-excel (0.3.5.1).I tried and found one solution format4 = workbook.add_format(:color=>"black",:bold=>1,:underline=>0,:align=>'left',:s

Re: [Rails] Issue while deploying to heroku with Rails 3.2.1, ruby 1.9.3-p0, using twitter/bootstrap.

2012-02-09 Thread Noel
On Thu, Feb 9, 2012 at 7:59 PM, Manoj W. wrote: > Hi, > > I am new to Rails and am following Rails tutorials by Michael Hartl and > Rails guides. I have deployed an app to Heroku, but I get this error > while trying to access it (from heroku logs) - > > Completed 500 Internal Server Error in 75ms

[Rails] Issue while deploying to heroku with Rails 3.2.1, ruby 1.9.3-p0, using twitter/bootstrap.

2012-02-09 Thread Manoj W.
Hi, I am new to Rails and am following Rails tutorials by Michael Hartl and Rails guides. I have deployed an app to Heroku, but I get this error while trying to access it (from heroku logs) - Completed 500 Internal Server Error in 75ms ActionView::Template::Error (application.css isn't precompile

Re: [Rails] How to customize a custom validator error message?

2012-02-09 Thread Dave Aronson
On Wed, Feb 8, 2012 at 11:50, David M wrote: > class EmailFormatValidator < ActiveModel::EachValidator >   def validate_each(object, attribute, value) >     unless value =~ /^([^@\s]+)@((?:[-a-z0-9]+\.)+[a-z]{2,})$/i >       object.errors[attribute] << (options[:message] || 'is not valid') >    

Re: [Rails] ruby script/server is not working

2012-02-09 Thread Dave Aronson
On Thu, Feb 9, 2012 at 05:54, honey ruby wrote: > hi everyone i just typed ruby script/server -d and then after when i > type again it is not working. i got this error > > [2012-02-09 16:19:54] WARN  TCPServer Error: Address already in use - > bind(2) > Exiting > /usr/lib/ruby/1.8/webrick/utils.r

Re: [Rails] Re: Re: Re: Re: Re: Multiple feature creation.

2012-02-09 Thread Walter Lee Davis
On Feb 9, 2012, at 8:56 PM, Christopher Jones wrote: >> That one-liner ought to Just Work. >> >> Walter > > I have my code like this but I just doesn't seem to generate a wishlist > :( > > before_filter :set_wishlist, :only => :create > > def set_wishlist >@wishlist = Wishlist.create(pa

[Rails] Re: Re: Re: Re: Re: Multiple feature creation.

2012-02-09 Thread Christopher Jones
> That one-liner ought to Just Work. > > Walter I have my code like this but I just doesn't seem to generate a wishlist :( before_filter :set_wishlist, :only => :create def set_wishlist @wishlist = Wishlist.create(params[:wishlist]) @wishlist.user = current_user @wishlist.save e

[Rails] Re: Which associations should I use? to extend ad model.

2012-02-09 Thread regedarek
I think form me i should be something like this below because I need different validations to each type of ads. Or in your example could i set up this kind of different validations? > class Ad < ActiveRecord::Base > validates_presence_of :name, :email, :price(?), :category_id(?) > > :name

[Rails] Re: Rake problems

2012-02-09 Thread Felipe Pieretti Umpierre
felipe@Felipe:~/rails_projects/mailler$ bundle exec rake db:create mailler_development already exists rake aborted! Mysql::Error: Access denied for user 'mailler'@'localhost' to database 'mailler_test': CREATE DATABASE `mailler_test` DEFAULT CHARACTER SET `utf8` COLLATE `utf8_unicode_ci` Tasks:

Re: [Rails] Rake problems

2012-02-09 Thread Everaldo Gomes
Try executing: bundle exec rake db:create then bundle exec rake db:migrate On Thu, Feb 9, 2012 at 10:40 PM, Felipe Pieretti Umpierre < li...@ruby-forum.com> wrote: > Hello, I'm trying to make my db, but when I put the code, it just don't > do nothing.. > > felipe@Felipe:~/rails_projects/mailler$

[Rails] Rake problems

2012-02-09 Thread Felipe Pieretti Umpierre
Hello, I'm trying to make my db, but when I put the code, it just don't do nothing.. felipe@Felipe:~/rails_projects/mailler$ rake db:migrate felipe@Felipe:~/rails_projects/mailler$ what can be ? Thank you. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are

Re: [Rails] how to get the model name of an AR instance

2012-02-09 Thread Peter Vandenabeele
On Thu, Feb 9, 2012 at 11:38 PM, Erwin wrote: > I have a polymorphic class Event > > class Event < ActiveRecord::Base > belongs_to :taskable, :polymorphic => true > > so an event.instance has : event.taskable_typeand > event.taskable_id > i.e. event[:taskable_type] = "Project" event[:ta

[Rails] Re: Ruby on Rails Hosting.

2012-02-09 Thread Max
i definitely had issues with trying to develop with sqllite and deploy on heroku (cedar stack) to postgresql. It ended up being imperative to install postgresql locally for the dev environment. as a newbie it was a bit daunting at first but i got through it without too much bloodshed and haven't

Re: [Rails] Re: Ruby on Rails Hosting.

2012-02-09 Thread Peter Vandenabeele
On Wed, Feb 8, 2012 at 2:19 AM, Hassan Schroeder wrote: > On Tue, Feb 7, 2012 at 4:36 PM, Don wrote: > > > However, you will want to make sure you research, in detail, the > database > > situation. Heroku is now forcing the use of Postgres for "production" > > deployment, in certain situations

Re: [Rails] Will_Paginate

2012-02-09 Thread Bruno Meira
First time using Kaminari... But it seems to be a good gem. Thx for the tip ;D -- 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 em

Re: [Rails] how to get the model name of an AR instance

2012-02-09 Thread Everaldo Gomes
See the method constantize. On Thu, Feb 9, 2012 at 8:38 PM, Erwin wrote: > I have a polymorphic class Event > > class Event < ActiveRecord::Base > belongs_to :taskable, :polymorphic => true > > so an event.instance has : event.taskable_typeand > event.taskable_id > i.e. event[:taskable_

[Rails] how to get the model name of an AR instance

2012-02-09 Thread Erwin
I have a polymorphic class Event class Event < ActiveRecord::Base belongs_to :taskable, :polymorphic => true so an event.instance has : event.taskable_typeand event.taskable_id i.e. event[:taskable_type] = "Project" event[:taskable_id] = 2 Is it possible to localize the taskable_type

Re: [Rails] Will_Paginate

2012-02-09 Thread Bruno Meira
Hi Walter, I will take a look in this solution and in this Kamirami Thx for the answer ;D -- 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 gro

[Rails] Re: which gem or lib ? name forgotten

2012-02-09 Thread Erwin
found it back : UnicodeUtils gem On Feb 9, 7:20 pm, Erwin wrote: > When european accentuated characters in strings are displayed  to > uppercase , the accent is displayed... > I know there is ( was) a gem or library to managed such > internationalized strings better ...  but I can't remember th

Re: [Rails] Will_Paginate

2012-02-09 Thread Walter Lee Davis
On Feb 9, 2012, at 5:11 PM, Bruno Meira wrote: > Hi Guys, > In my application I created this method: > > def self.find_paginated_posts_by_post_type(post_type,page=1,query="") > if query.empty? == false > query = "%#{query}%" > else > query = "%" > end > result = in

Re: Re[2]: [Rails] Ruby Developer position

2012-02-09 Thread Scott Ribe
On Feb 9, 2012, at 3:13 PM, Ralph Shnelvar wrote: > To me, it would be nice if the reply-to only contained > rubyonrails-talk@googlegroups.com. I think that's the responsibility of the > chat list. Am I right? Or is that the responsibility of the mail > client? Mail client; does not happen t

Re[2]: [Rails] Ruby Developer position

2012-02-09 Thread Ralph Shnelvar
Thursday, February 9, 2012, 2:53:54 PM, you wrote: SR> On Feb 9, 2012, at 2:13 PM, Dave Aronson wrote: >> Frankly if I were hiring, I'd put a line in the note that specifically >> says to contact me off-list (the rest of the people here wouldn't give >> a fig about any given respondent's qualific

[Rails] Will_Paginate

2012-02-09 Thread Bruno Meira
Hi Guys, In my application I created this method: def self.find_paginated_posts_by_post_type(post_type,page=1,query="") if query.empty? == false query = "%#{query}%" else query = "%" end result = includes(:user). where(['post_type_id = ? AND title LIKE ?'

Re: [Rails] Ruby Developer position

2012-02-09 Thread Scott Ribe
On Feb 9, 2012, at 2:13 PM, Dave Aronson wrote: > Frankly if I were hiring, I'd put a line in the note that specifically > says to contact me off-list (the rest of the people here wouldn't give > a fig about any given respondent's qualifications), and anybody who > replies on-list, flunks. Do you

[Rails] Re: Re: Ruby on Rails Hosting.

2012-02-09 Thread Don
The latest Heroku stack requires postgres and will not allow SQLite at all ( I think it is called Cedars ) When you deploy, you will want to deploy on an older stack that allows SQLite. (I think Bamboo works with SQLite.) If you can deploy with SQLite, then you should not have any reconfigura

Re: [Rails] Ruby Developer position

2012-02-09 Thread Dave Aronson
On Tue, Feb 7, 2012 at 21:07, Ahmy Yulrizka wrote: > I dont understand why people reply to job offer on the list, not directly to > the person instead. Same reason people don't trim quotes: sheer laziness. Frankly if I were hiring, I'd put a line in the note that specifically says to contact me

Re: [Rails] how to assign edit/remove privileges for only own details and not on others?

2012-02-09 Thread Dave Aronson
On Tue, Feb 7, 2012 at 11:15, Pallav_bfs wrote: > How can I design the app, so that any logged in user can edit/remove > his details only if he wishes to do so and can only view others' > records. In addition to using authorization gems like CanCan, you can also do these things yourself. Before

Re: [Rails] Re: Re: Re: Re: Multiple feature creation.

2012-02-09 Thread Walter Lee Davis
On Feb 9, 2012, at 2:34 PM, Christopher Jones wrote: > Hey Walter, > > I have the following in my userController > > after_filter :set_wishlist, :only => :create > > def set_wishlist >@wishlist = Wishlist.new(params[:wishlist]) >@wishlist.user = current_user > end > > It goes ahead

[Rails] Re: Rails with Ajax

2012-02-09 Thread Linus Pettersson
Well, the code in the search view is executed when the view is rendered. It is not executed again when you inject the html using javascript. So the if @group_trace code is only executed when the search view is rendered and @group_trace is not created yet. What are you actually trying to achieve

[Rails] Re: Re: Re: Re: Multiple feature creation.

2012-02-09 Thread Christopher Jones
Hey Walter, I have the following in my userController after_filter :set_wishlist, :only => :create def set_wishlist @wishlist = Wishlist.new(params[:wishlist]) @wishlist.user = current_user end It goes ahead but doesn't actually create a wishlist for the user. I checked in the serv

[Rails] which gem or lib ? name forgotten

2012-02-09 Thread Erwin
When european accentuated characters in strings are displayed to uppercase , the accent is displayed... I know there is ( was) a gem or library to managed such internationalized strings better ... but I can't remember the name .. anyguess ? thanks -- You received this message because you are

Re: [Rails] Differing Schemas (MySQL / RDS)

2012-02-09 Thread John Hinnegan
Thanks Walter. The databases are empty (I "drop database" before the migration). I'm not worried about my ids, though, so I think I will just not worry about it. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion o

Re: [Rails] Differing Schemas (MySQL / RDS)

2012-02-09 Thread Peter Vandenabeele
On Thu, Feb 9, 2012 at 6:49 PM, Peter Vandenabeele wrote: > On Thu, Feb 9, 2012 at 6:43 PM, John Hinnegan wrote: > >> I'm using AWS RDS / MySQL for my DB layer. >> >> I ran migrations on my sandbox environment, and then on my production >> environment, and I'm getting slight differences. I'm fair

[Rails] Cucumber coverage -- how?

2012-02-09 Thread Sa Pa
Hello all. I am trying to see how much of my code is covered by Cucumber features/scenarios. The feature steps are actually using the browser/views to tests, so they are not directly instantiating controllers, etc. My question is, is there a way using SimpleCov or any other coverage tool to give m

Re: [Rails] Differing Schemas (MySQL / RDS)

2012-02-09 Thread Walter Lee Davis
On Feb 9, 2012, at 12:49 PM, Peter Vandenabeele wrote: > On Thu, Feb 9, 2012 at 6:43 PM, John Hinnegan wrote: > I'm using AWS RDS / MySQL for my DB layer. > > I ran migrations on my sandbox environment, and then on my production > environment, and I'm getting slight differences. I'm fairly ne

Re: [Rails] Differing Schemas (MySQL / RDS)

2012-02-09 Thread John Hinnegan
That makes sense -- my sandbox is just a lone host, but my prod is multi availability zone Thanks -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk

Re: [Rails] Differing Schemas (MySQL / RDS)

2012-02-09 Thread Peter Vandenabeele
On Thu, Feb 9, 2012 at 6:43 PM, John Hinnegan wrote: > I'm using AWS RDS / MySQL for my DB layer. > > I ran migrations on my sandbox environment, and then on my production > environment, and I'm getting slight differences. I'm fairly new to MySQL. > The differences are these AUTO_INCREMENT field

Re: [Rails] Re: Re: Re: Multiple feature creation.

2012-02-09 Thread Walter Lee Davis
On Feb 9, 2012, at 11:06 AM, Christopher Jones wrote: > By stating params in the model as > > def set_wishlist(params) > > It returns the error of: wrong number of arguments (0 of 1). > > If I was to try and call the create method from wishlistController > through the user model, how would I

[Rails] Differing Schemas (MySQL / RDS)

2012-02-09 Thread John Hinnegan
I'm using AWS RDS / MySQL for my DB layer. I ran migrations on my sandbox environment, and then on my production environment, and I'm getting slight differences. I'm fairly new to MySQL. The differences are these AUTO_INCREMENT fields. Should I take the difference to indicate that I've messe

[Rails] Re: Eliminating Duplicates

2012-02-09 Thread John Hinnegan
Pretty sure something like this will work Students.where("first_name like ?", params[:first_name]).or("last_name like ?", params[:last_name]).group("first_name, last_name, middle_name").uniq -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group

Re: [Rails] Photo Gallery

2012-02-09 Thread Walter Lee Davis
On Feb 9, 2012, at 11:46 AM, Pedro wrote: > Hi there, > > I need a photo gallery and was thinking to use picasa or flickr to do > it. Is there a gem or pluging that I could use with rails 2.3.8? > > Thanks, One of the very first Rails screencasts was how to build a Flickr gallery. I'm sure it

Re: [Rails] Regarding Photo upload

2012-02-09 Thread Aline de Oliveira Freitas
Have you tried gem paperclip? 2012/2/9 praneeth thota > How to upload image in rails 2.3.8 and also updating the existing image. > Thanks in advance for your help and support. > > -- > Posted via http://www.ruby-forum.com/. > > -- > You received this message because you are subscribed to the Goo

Re: [Rails] request.subdomain Returns blank array

2012-02-09 Thread Peter Vandenabeele
On Thu, Feb 9, 2012 at 4:58 PM, Kausik Bakshi wrote: > Hi I am a new Rails Developer > Welcome :-) > > My application_controller is: > > class ApplicationController < ActionController::Base > protect_from_forgery > > before_filter :sshow > > def sshow >puts "==="

[Rails] Eliminating Duplicates

2012-02-09 Thread Jade Zallao
How will I convert this into searchlogic query? @students = Students.find_by_sql(["SELECT DISTINCT * FROM students WHERE first_name LIKE ? OR last_name LIKE ? GROUP BY first_name, last_name, middle_name", params[:first_name], params[:last_name] ]) Thank you, Jade -- You received this message

[Rails] Photo Gallery

2012-02-09 Thread Pedro
Hi there, I need a photo gallery and was thinking to use picasa or flickr to do it. Is there a gem or pluging that I could use with rails 2.3.8? Thanks, Pedro -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send

[Rails] how to rename a method of a module.

2012-02-09 Thread Mauro
I'm using the gem bootstrap-will_paginate and inside this gem there is the initializer: require 'will_paginate/view_helpers/action_view' module WillPaginate module ActionView def will_paginate(collection = nil, options = {}) options, collection = collection, nil if collection.is_a? Hash

[Rails] Re: Re: Re: Multiple feature creation.

2012-02-09 Thread Christopher Jones
By stating params in the model as def set_wishlist(params) It returns the error of: wrong number of arguments (0 of 1). If I was to try and call the create method from wishlistController through the user model, how would I go about calling it? I have not had he experience of doing such thing b

[Rails] request.subdomain Returns blank array

2012-02-09 Thread Kausik Bakshi
Hi I am a new Rails Developer My application_controller is: class ApplicationController < ActionController::Base protect_from_forgery before_filter :sshow def sshow puts "===" puts YAML::dump(request.subdomains) end end now when I put kausik.localhost:30

Re: [Rails] Re: Re: Multiple feature creation.

2012-02-09 Thread Walter Lee Davis
On Feb 9, 2012, at 10:43 AM, Christopher Jones wrote: > Hi, > > I tried the method that I stated in the model: > > def set_wishlist > @wishlist = Wishlist.new(params[:wishlist]) > end > > But once I created the user it returned an error screen stating: > > NameError in UsersController#create

[Rails] Re: Re: Multiple feature creation.

2012-02-09 Thread Christopher Jones
Hi, I tried the method that I stated in the model: def set_wishlist @wishlist = Wishlist.new(params[:wishlist]) end But once I created the user it returned an error screen stating: NameError in UsersController#create undefined local variable or method `params' for # Rails.root: C:/finalprojec

Re: [Rails] New to Programming -- Need Installation Direction

2012-02-09 Thread Hassan Schroeder
On Wed, Feb 8, 2012 at 7:35 AM, Micajah wrote: > The problem is correctly setting up the PATH for MySQL. > > In terminal, which mysql = /usr/local/bin/mysql > > but in the tutorial I am following their terminal displays the > following > > which mysql = /usr/local/mysql/bin/mysql > What am I doi

Re: [Rails] Call for help: Rails Reserved Words Wiki

2012-02-09 Thread Walter Lee Davis
On Feb 9, 2012, at 3:37 AM, Peter Vandenabeele wrote: > On Thu, Feb 9, 2012 at 7:09 AM, Walter Lee Davis wrote: > There is now an app on Heroku for this. Please chip in and add any words you > know are "trouble". > > http://reservedwords.herokuapp.com > > > Thanks. > > 1) A bug report ... w

Re: [Rails] An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.

2012-02-09 Thread Colin Law
On 8 February 2012 12:59, alaska...@gmail.com wrote: > error information occurred when I execute "rails new demo1 -- > database=mysql" > > MY environment below: > Mac OS 10.4.11, > Ruby  1.8.7 > Rails 3.2.1, > Gem 1.8.15 > mysql5  Ver 14.14 Distrib 5.1.61, for apple-darwin8.11.1 (i386) using > rea

Re: [Rails] Web Services for iphone App

2012-02-09 Thread Peter Vandenabeele
On Thu, Feb 9, 2012 at 2:19 PM, Muruga wrote: > Hi All >I am working an Rails 2.3.14.I am providing web services for > an iphone app thru xml. > My Rails app uses an authlogic gem for authentication.How to > authenticate a API call from an iphone app. > Initially i can able to sign

[Rails] Web Services for iphone App

2012-02-09 Thread Muruga
Hi All I am working an Rails 2.3.14.I am providing web services for an iphone app thru xml. My Rails app uses an authlogic gem for authentication.How to authenticate a API call from an iphone app. Initially i can able to sign up and login thru XML post request.After login how my ra

Re: [Rails] Re: Multiple feature creation.

2012-02-09 Thread Bill Walton
On Thu, Feb 9, 2012 at 5:43 AM, Christopher Jones wrote: >> Use an after_create callback in the User model to create the associated >> Wishlist record. > > So in the user model would I define first like this: > > after_create :set_wishlist > > then the following: > > def set_wishlist >  @wishlist

[Rails] Method missing

2012-02-09 Thread Kingston.s
Hi all, please tell me the path to method missing super class method for ActiveRecord 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] Method messing

2012-02-09 Thread Kingston.s
Hi all, please tell me the path to method missing super class method for ActiveRecord 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: Multiple feature creation.

2012-02-09 Thread Christopher Jones
> Use an after_create callback in the User model to create the associated > Wishlist record. So in the user model would I define first like this: after_create :set_wishlist then the following: def set_wishlist @wishlist = Wishlist.new(params[:wishlist]) end I hope I am on the correct track.

Re: [Rails] ruby script/server is not working

2012-02-09 Thread Rameshwar Vyevhare
One more thing, if you are using linux OS then you can kill your existing running process- kill process_id process_id : this id you have to collect from Linux UI process monitor, see ruby process id and use above command. Best luck -- With Regards, Rameshwar On 09/02/12 4:46 PM, "Rameshw

[Rails] Ruby Developer position @ Columbia, SC

2012-02-09 Thread anurag
requirement for Ruby developer pls. sent your profile to: anurag.ty...@softwarepeople.us Location: Columbia, SC Duration: 12 months+ Rate: $65/hr 1099/c2c Required Skills: RUBY, RAILS, GIT, MYSQL, CUCUMBER, RSPEC, JQUERY, EXCELLENT ORAL AND WRITTEN COMMUNICATION SKILLS, TEST-DRIVEN DEVELOPMEN

[Rails] New to Programming -- Need Installation Direction

2012-02-09 Thread Micajah
Running Mac OSX 10.7.2 Currently Installed: Homebrew, v 0.8.1 Git, v 1.7.9 RVM, v 1.10.2 Rails, v 3.2.1 Ruby, v 1.9.3p0 MySQL, v 14.14 Distrib 5.5.19 The problem is correctly setting up the PATH for MySQL. In terminal, which mysql = /usr/local/bin/mysql but in the tutorial I am following

[Rails] Senior Web Programmer/Ruby on Rails Job Opening

2012-02-09 Thread Lora Magnuson
Georgia Tech Alumni Association Senior Web Programmer/Ruby on Rails Ruby on Rails Developer needed for web development in Atlanta, Georgia. Great opportunity to build programming skills in a flexible, life-style friendly environment. Full medical and dental benefits, 3 weeks accrued vacation, 1 we

Re: [Rails] popover window how-to

2012-02-09 Thread Fabio Fabrizi
Forgot to add this one http://www.jamesyu.org/2011/01/27/cloudedit-a-backbone-js-tutorial-by-example/ On Wed, Feb 8, 2012 at 11:08 AM, Fabio Fabrizi wrote: > Hi Scott, > > Still a newbie myself to Rails, but these might help: > > http://dailyjs.com/ > > http://www.justinball.com/2011/03/11/get-j

Re: [Rails] popover window how-to

2012-02-09 Thread Fabio Fabrizi
Hi Scott, Still a newbie myself to Rails, but these might help: http://dailyjs.com/ http://www.justinball.com/2011/03/11/get-jquery-working-with-ruby-on-rails-3/ http://www.rubyinside.com/how-to-rails-3-1-coffeescript-howto-4695.html http://rubygems.org/gems/jquery-rails Fabio On Wed, Feb 8, 2

[Rails] An error occured while installing mysql2 (0.3.11), and Bundler cannot continue.

2012-02-09 Thread alaska...@gmail.com
error information occurred when I execute "rails new demo1 -- database=mysql" MY environment below: Mac OS 10.4.11, Ruby 1.8.7 Rails 3.2.1, Gem 1.8.15 mysql5 Ver 14.14 Distrib 5.1.61, for apple-darwin8.11.1 (i386) using readline 6.2 mysql (2.8.1) Please help me, thx! more detail message as fol

Re: [Rails] ruby script/server is not working

2012-02-09 Thread Rameshwar Vyevhare
This mean that port which is required for your application is already using by your machine. Yon need to kill this process either your can use ruby script/server -p 1234 Then you can be able to run your application on http://localhost:1234 -- With Regards, Rameshwar On 09/02/12 4:24 PM,

Re: [Rails] ruby script/server is not working

2012-02-09 Thread Tom Meinlschmidt
TCPServer Error: Address already in use that error message claims you have already running some server on the same port as you're trying to run this on. cancel/shutdown other one or add "-p some_number" to run your server on different port tom On Feb 9, 2012, at 11:54 , honey ruby wrote: > hi

[Rails] ruby script/server is not working

2012-02-09 Thread honey ruby
hi everyone i just typed ruby script/server -d and then after when i type again it is not working. i got this error [2012-02-09 16:19:54] WARN TCPServer Error: Address already in use - bind(2) Exiting /usr/lib/ruby/1.8/webrick/utils.rb:73:in `initialize': Address already in use - bind(2) (Errno:

Re: [Rails] Re: Looking for a way to set a variable when doing Model.new

2012-02-09 Thread Peter Vandenabeele
On Thu, Feb 9, 2012 at 7:07 AM, Hassan Schroeder wrote: > On Wed, Feb 8, 2012 at 8:54 PM, Bob Smith wrote: > > > What I am trying to do is have a *unique value* set in each new record > > See: http://rubygems.org/gems/uuid > Indeed. And maybe better to not mess with the `def initialize`, but u

[Rails] Re: Inserting a static img tag with jQuery

2012-02-09 Thread Soichi Ishida
Thanks for your help! It works fine now. soichi -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this

Re: [Rails] Call for help: Rails Reserved Words Wiki

2012-02-09 Thread Peter Vandenabeele
On Thu, Feb 9, 2012 at 7:09 AM, Walter Lee Davis wrote: > There is now an app on Heroku for this. Please chip in and add any words > you know are "trouble". > > http://reservedwords.herokuapp.com > > Thanks. 1) A bug report ... when clicking on the detail (show view) of 1 word, the authenticatio