Re: [Rails] error of undefined method `each' for #Picture:0x927dea0

2011-06-10 Thread 3dd13
you exectued people.all.first so the @user only has one picture object instead of an array of pictures 2011/6/10 joanne joanne0...@gmail.com hi all, I have an error undefined method `each' for #Picture:0x927dea0 what is that mean? in my view [code] % @user.each do |p| % %= p.image %

Re: [Rails] gems for geenrate graphs

2011-06-10 Thread Colin Law
On 10 June 2011 06:47, Michael Pavling pavl...@gmail.com wrote: On 9 June 2011 18:05, Adel Mediouni mediouni.a...@gmail.com wrote: hi, i have an array of data and i would make a graph to illustrate them. Open Flash Charts used to be a very good choice. Worth having a look to see if it does

Re: [Rails] gems for geenrate graphs

2011-06-10 Thread Adel Mediouni
thanks, i will try to use them :) i think flot is the better ;) 2011/6/10 Colin Law clan...@googlemail.com On 10 June 2011 06:47, Michael Pavling pavl...@gmail.com wrote: On 9 June 2011 18:05, Adel Mediouni mediouni.a...@gmail.com wrote: hi, i have an array of data and i would make a

[Rails] [JOB] Medidata Solutions is looking for Ruby on Rails Developers for our Uxbridge, UK office

2011-06-10 Thread MS999
WHERE TECHNOLOGY MEETS MEDICINE Join a fast-growing leader in delivering innovative technologies to help life sciences organizations bring life-enhancing and life-saving medical treatments to those who need them – safely and quickly. You are: • curious and not afraid to get your hands dirty •

[Rails] RoR wizzard wanted for project in Switzerland/Germany/UK

2011-06-10 Thread Bangzhu
Hello, I am looking for a RoR wizzard for a social community project and would appreciate any recommendations. Thank you and greetings from Basel! -- 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

[Rails] [JOB] Medidata Solutions is looking for Ruby on Rails Developers for our New York City office

2011-06-10 Thread MS999
WHERE TECHNOLOGY MEETS MEDICINE Join a fast-growing leader in delivering innovative technologies to help life sciences organizations bring life-enhancing and life-saving medical treatments to those who need them – safely and quickly. You are: • curious and not afraid to get your hands dirty •

[Rails] Performance testing with cucumber

2011-06-10 Thread johnnybutler7
Hi, Ive looked around at the various tools for load testing etc but i need something a bit more specific. Something like cucumber and httperv mixed together. What i would like to do is write some cucumber specs for filling in various forms in my application but simulate say 20 users doing this

[Rails] Re: Need RoR Developer

2011-06-10 Thread ct9a
yea, where abouts are you and how are you paying? Paypal? thank you :) On Jun 9, 7:46 pm, Michael Pavling pavl...@gmail.com wrote: On 8 June 2011 19:43, Lorysa Rossnagel asy...@gmail.com wrote: We're looking for local or national Which nation? ... Which locality? ... :-/ -- You received

Re: [Rails] RoR wizzard wanted for project in Switzerland/Germany/UK

2011-06-10 Thread Julian Leviston
Is good english spelling a prereq? ;) Blog: http://random8.zenunit.com/ Twitter: http://twitter.com/random8r Learn: http://sensei.zenunit.com/ New video up now at http://sensei.zenunit.com/ real fastcgi rails deploy process! Check it out now! On 10/06/2011, at 7:24 PM, Bangzhu

Re: [Rails] Performance testing with cucumber

2011-06-10 Thread Peter De Berdt
On 10 Jun 2011, at 12:32, johnnybutler7 wrote: Ive looked around at the various tools for load testing etc but i need something a bit more specific. Something like cucumber and httperv mixed together. What i would like to do is write some cucumber specs for filling in various forms in my

[Rails] Re: Performance testing with cucumber

2011-06-10 Thread johnnybutler7
thanks Peter On Jun 10, 11:49 am, Peter De Berdt peter.de.be...@pandora.be wrote: On 10 Jun 2011, at 12:32, johnnybutler7 wrote: Ive looked around at the various tools for load testing etc but i need something a bit more specific.  Something like cucumber and httperv mixed together.  What

[Rails] Re: Performance testing with cucumber

2011-06-10 Thread Frederick Cheung
On Jun 10, 11:49 am, Peter De Berdt peter.de.be...@pandora.be wrote: On 10 Jun 2011, at 12:32, johnnybutler7 wrote: Ive looked around at the various tools for load testing etc but i need something a bit more specific.  Something like cucumber and httperv mixed together.  What i would like

[Rails] Re: jQuery and Rails issue

2011-06-10 Thread Matt Jones
On Jun 8, 10:01 pm, Bob Roberts brobe...@c2logix.com wrote: I am trying to use the tabs function from jQuery UI in a Rails app.  I am using a helper for the navigation and I would like to keep it that way.  The code in my helper is:   def links_for_navigation     html =     html  = HTML

Re: [Rails] [JOB] Medidata Solutions is looking for Ruby on Rails Developers for our Uxbridge, UK office

2011-06-10 Thread thiagocifani
could It be a national position? I am brazilian, and I am looking for a good job! what about this? On Fri, Jun 10, 2011 at 7:03 AM, MS999 msefar...@gmail.com wrote: WHERE TECHNOLOGY MEETS MEDICINE Join a fast-growing leader in delivering innovative technologies to help life sciences

Re: [Rails] error of undefined method `each' for #Picture:0x927dea0

2011-06-10 Thread joanne ta
Thanks all. :D.. and i have other question.. when i take the image file (BLOD).. i cannot display it .. do you have any idea... Please give me some advice.. thanks \ On Fri, Jun 10, 2011 at 12:19 AM, 3dd13 taton...@gmail.com wrote: you exectued people.all.first so the @user only has

Re: [Rails] error of undefined method `each' for #Picture:0x927dea0

2011-06-10 Thread Michael Pavling
On 10 June 2011 15:47, joanne ta joanne0...@gmail.com wrote: and i have other question.. If you have another question, please start another thread. when i take the image file (BLOD).. i cannot display it .. do you have any idea... Please give me some advice.. thanks \ How do you 'take

Re: [Rails] error of undefined method `each' for #Picture:0x927dea0

2011-06-10 Thread joanne ta
i am have any error about the code.. but i cannot show/ display picture on the screen On Fri, Jun 10, 2011 at 10:50 AM, Michael Pavling pavl...@gmail.com wrote: On 10 June 2011 15:47, joanne ta joanne0...@gmail.com wrote: and i have other question.. If you have another question, please

[Rails] How to display picture on rails

2011-06-10 Thread joanne
Hi all, I want to display the picture(BLOD type in sqlite3 in Ubuntu) I cannot display picture on the screen., i just show some decode stuff. and i try to use the plug in paperclip.. and when i install it on the current project,, I cannot run my server in Terminal,, please give me some advice

Re: [Rails] Re: jQuery and Rails issue

2011-06-10 Thread Rob Biedenharn
On Jun 10, 2011, at 9:45 AM, Matt Jones wrote: On Jun 8, 10:01 pm, Bob Roberts brobe...@c2logix.com wrote: I am trying to use the tabs function from jQuery UI in a Rails app. I am using a helper for the navigation and I would like to keep it that way. The code in my helper is: def

[Rails] Rails 3.1.0RC4 start server problem

2011-06-10 Thread Zoloo
Hi guys, When I trying to start server. I get following errors: user@user-desktop:~/todo$ rails s /home/user/.rvm/gems/ruby-1.9.2-p180@rails31rc4/gems/execjs-1.1.2/lib/ execjs/runtimes.rb:43:in `autodetect': Could not find a JavaScript runtime. See https://github.com/sstephenson/execjs for a list

[Rails] Sorting Text in ROR

2011-06-10 Thread Runa
While sorting /ordering text it considers space first, then '.' then characters e.g. @user = User.find(:all,:order='name') it outputs A Sharma A. Bansal ---with dot Aarti Dev Is there any way to sort, so that i get the output as Aarti Dev A. Bansal A Sharma -- You received

Re: [Rails] How to display picture on rails

2011-06-10 Thread Colin Law
On 10 June 2011 16:40, joanne joanne0...@gmail.com wrote: Hi all, I want to display the picture(BLOD type in sqlite3 in Ubuntu) I cannot display picture on the screen., i just show some decode stuff. It is no good just saying you cannot display it and you get some 'decode stuff'. Show us

Re: [Rails] How to display picture on rails

2011-06-10 Thread joanne ta
in view: %=@patient.image % in controller @user=Picture.all( :joins = :culture, :conditions = (Phrase.joins(:description))).first and it shows this on the screen, GIF89a � ��ýf�* zd:2eZJ���R �̙ݼ�iZA:0��ޙ��B ���|||^Rc

Re: [Rails] Sorting Text in ROR

2011-06-10 Thread Walter Davis
On Jun 10, 2011, at 10:59 AM, Runa wrote: While sorting /ordering text it considers space first, then '.' then characters e.g. @user = User.find(:all,:order='name') it outputs A Sharma A. Bansal ---with dot Aarti Dev Is there any way to sort, so that i get the output as Aarti

Re: [Rails] Fail to call

2011-06-10 Thread Iván Hernández
On 06/09/2011 07:23 PM, Walter Davis wrote: On Jun 9, 2011, at 2:17 PM, Iván Hernández wrote: On 06/09/2011 07:04 PM, Frederick Cheung wrote: On 9 Jun 2011, at 18:31, Iván Hernández ivanhcelrinconelme...@gmail.com wrote: On 06/09/2011 06:13 PM, Frederick Cheung wrote: On 9 Jun 2011,

Re: [Rails] Rails 3.1.0RC4 start server problem

2011-06-10 Thread Jack Christensen
On 6/10/2011 10:05 AM, Zoloo wrote: Hi guys, When I trying to start server. I get following errors: user@user-desktop:~/todo$ rails s /home/user/.rvm/gems/ruby-1.9.2-p180@rails31rc4/gems/execjs-1.1.2/lib/ execjs/runtimes.rb:43:in `autodetect': Could not find a JavaScript runtime. See

Re: [Rails] Performance testing with cucumber

2011-06-10 Thread kowsik
On Fri, Jun 10, 2011 at 3:49 AM, Peter De Berdt peter.de.be...@pandora.be wrote: First of all, running load testing on different methods or a whole scenario is a waste of time, since it doesn't give you any indication on which method is underperforming under high server load. Also, filling in

Re: [Rails] Rails 3.1.0RC4 start server problem

2011-06-10 Thread pe medeiros
i believe you need a javascript engine to run your code... try installing rubyracer as Jack said... I had a similar problem once and it worked 2011/6/10 Jack Christensen ja...@hylesanderson.edu On 6/10/2011 10:05 AM, Zoloo wrote: Hi guys, When I trying to start server. I get following

Re: [Rails] How to display picture on rails

2011-06-10 Thread Frederick Cheung
On 10 Jun 2011, at 17:11, joanne ta joanne0...@gmail.com wrote: in view: %=@patient.image % That's just dumping the raw data into the page. Your browser won't know that the data represents an image unless there is an img tag, whose src attribute points at an action in your app that will

[Rails] Re: MySql2 adapter hangs in Rails3 on Windows XP

2011-06-10 Thread Eric Norberg
Installing 0.2.6 fixes it. Thanks for information. On Jun 9, 9:38 am, Dhruva Sagar dhruva.sa...@gmail.com wrote: On Thursday 09 June 2011 03:32 AM, Eric Norberg wrote: Previously we've used Rails2.xx with no problems and we're trying to upgrade to ruby 1.9.2p180 and Rails 3.0.7 with pik to

Re: [Rails] Fail to call

2011-06-10 Thread Walter Davis
On Jun 10, 2011, at 12:33 PM, Iván Hernández wrote: On 06/09/2011 07:23 PM, Walter Davis wrote: On Jun 9, 2011, at 2:17 PM, Iván Hernández wrote: On 06/09/2011 07:04 PM, Frederick Cheung wrote: On 9 Jun 2011, at 18:31, Iván Hernández ivanhcelrinconelme...@gmail.com wrote: On

[Rails] Need Rails Developer - são Paulo, Brazil

2011-06-10 Thread Rafael
Hello everyone, We are a Brazilian startup and we are looking for a Rails developer to join us. More information can be found here: Http://www.prefiroumastartup.com. Thank you very much. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To

[Rails] Do self-referencing link/URL helpers like these exist already?

2011-06-10 Thread Kendall Gifford
Hello everyone. Okay, I've done a full write-up of my question here as a blog post. It includes a TL;DR section at the top: http://chienpo.blogspot.com/2011/06/where-am-i.html The code containing the helpers I referred to in the title of this question is here: https://gist.github.com/1015732

[Rails] Re: Take a value from tables

2011-06-10 Thread Kendall Gifford
On Thursday, June 9, 2011 8:16:28 PM UTC-6, joanne wrote: Hi, I am new in Rails, and now i have a problem to take data from more 4 tables in DB This is my code: //user model belongs_to season belongs_to album has_many albums I'm assuming this *isn't* a copy/paste since it should

Re: [Rails] Fail to call

2011-06-10 Thread Iván Hernández
On 06/10/2011 06:14 PM, Walter Davis wrote: On Jun 10, 2011, at 12:33 PM, Iván Hernández wrote: On 06/09/2011 07:23 PM, Walter Davis wrote: On Jun 9, 2011, at 2:17 PM, Iván Hernández wrote: On 06/09/2011 07:04 PM, Frederick Cheung wrote: On 9 Jun 2011, at 18:31, Iván Hernández

Re: [Rails] Sorting Text in ROR

2011-06-10 Thread Kendall Gifford
On Friday, June 10, 2011 10:13:02 AM UTC-6, Walter Lee Davis wrote: On Jun 10, 2011, at 10:59 AM, Runa wrote: While sorting /ordering text it considers space first, then '.' then characters e.g. @user = User.find(:all,:order='name') it outputs A Sharma A. Bansal

Re: [Rails] Rails 3.1.0RC4 start server problem

2011-06-10 Thread Alex Katebi
Install nodejs sudo apt-get install nodejs On Fri, Jun 10, 2011 at 11:05 AM, Zoloo zolzaya...@gmail.com wrote: Hi guys, When I trying to start server. I get following errors: user@user-desktop:~/todo$ rails s /home/user/.rvm/gems/ruby-1.9.2-p180@rails31rc4/gems/execjs-1.1.2/lib/