Re: [Rails] Carrierwave Direct and additional form elements

2014-07-16 Thread Mark J. Lehman
Walter, I know this is almost 2 years old now, but I'm trying to figure out how to do the same thing with Carrierwave Direct. Did you ever solve this? If you did, would you mind posting how? Code snippets are also appreciated. On Thursday, August 30, 2012 8:39:02 AM UTC-7, Walter Lee Davis

Re: [Rails] ruby on rails

2014-07-16 Thread Jim Ruther Nill
On Wed, Jul 16, 2014 at 1:13 AM, Carlo Giustinoni carlo.giustin...@gmail.com wrote: this is the worst installation package I have ever encountered, I installed using www.railsinstaller.org, I installed the VS2010 shell, when I try to generate script for anew project I get this error

[Rails] Re: Upload UTF-8 encoded textfile

2014-07-16 Thread Ronald Fischer
Yes, it is, as I found by trial-and-error. Note that the object is not just a File, it is of class Tempfile. I think this is quite common when working with a Tempfile object. To make a Tempfile threadsafe, you have to combine the creation of the filename and the creation of the file into one

[Rails] File to import not found or unreadable: bootstrap. Michaeal harts tutorial

2014-07-16 Thread Roelof Wobben
Hello, Im following Micheal harts tutorial. On chapter 5 you have to change the custum.css.scss file. But when I do rails s I see the above error. You can find all the sources here : https://github.com/roelof1967/sample_app Roelof -- You received this message because you are subscribed

[Rails] jQuery simpleZoom Plugin in rails

2014-07-16 Thread Duong vong veasna
Dear all RoR developers, i have a problem when i try to use jQuery simpleZoom Plugin in rails. i want to use it when select image from database, so how could i do? any one could help me. thanks. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

Re: [Rails] Re: Nested Iterator

2014-07-16 Thread Colin Law
On 16 July 2014 02:00, Robert Walker li...@ruby-forum.com wrote: Jan Yo wrote in post #1152468: Is there a more compact way to do a nested each ? value.each do |x| x.data.each do |y| puts 'x: ' + x + ' y: ' + y end end That is can this be reduced to one or two lines? value.each

[Rails] jQuery simpleZoom Plugin

2014-07-16 Thread kh hacker
Dear all RoR developers, i have a problem when i try to use jQuery simpleZoom Plugin in rails. i want to use it when select image from database, so how could i do? any one could help me. thanks. -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk

Re: [Rails] File to import not found or unreadable: bootstrap. Michaeal harts tutorial

2014-07-16 Thread Colin Law
On 16 July 2014 08:52, Roelof Wobben rwob...@hotmail.com wrote: Hello, Im following Micheal harts tutorial. On chapter 5 you have to change the custum.css.scss file. But when I do rails s I see the above error. You can find all the sources here : https://github.com/roelof1967/sample_app

[Rails] Alias mail method in class Mailer ActionMailer::Base

2014-07-16 Thread Rupesh Jayaprakash
Hello, I have a class in the core application, -- class Mailer ActionMailer::Base . . def mail(headers={}, block) headers.merge! 'Auto-Submitted' = 'auto-generated', 'From' = Setting.mail_from, 'List-Id' =

[Rails] Poszukiwany Senior Ruby on Rails Programmer. Miejsce pracy - Białystok

2014-07-16 Thread Ewa Żukowska
Lobo to międzynarodowa, dynamicznie rozwijająca się agencja doradztwa personalnego tworzona przez zespół profesjonalistów (nr w rejestrze agencji zatrudnienia: 7502). Aktualnie dla naszego klienta, prestiżowej firmy programistycznej tworzącej aplikacje webowe w Ruby on Rails oraz aplikacje

Re: [Rails] File to import not found or unreadable: bootstrap. Michaeal harts tutorial

2014-07-16 Thread Roelof Wobben
Thanks. but the problem is not solved. When I change that part to this : gem 'rails', '4.1.4' gem 'bootstrap-sass', '2.3.2.0' gem 'sprockets', '2.11.0' I see this error when running rails s /var/lib/gems/1.9.1/gems/bootstrap-sass-2.3.2.0/lib/bootstrap-sass.rb:14:in `require': cannot load

Re: [Rails] File to import not found or unreadable: bootstrap. Michaeal harts tutorial

2014-07-16 Thread Colin Law
On 16 July 2014 12:41, Roelof Wobben rwob...@hotmail.com wrote: Thanks. but the problem is not solved. When I change that part to this : gem 'rails', '4.1.4' gem 'bootstrap-sass', '2.3.2.0' gem 'sprockets', '2.11.0' I see this error when running rails s

Re: [Rails] Carrierwave Direct and additional form elements

2014-07-16 Thread Walter Lee Davis
No, I never did work this out, had to move on and the solution in place (in production) is sub-standard as a result. Walter On Jul 16, 2014, at 12:44 AM, Mark J. Lehman wrote: Walter, I know this is almost 2 years old now, but I'm trying to figure out how to do the same thing with

[Rails] Unzipping a file on S3

2014-07-16 Thread Walter Lee Davis
I have a Zip file on S3 that I uploaded with Paperclip. It contains a collection of related resources (an HTML5-animated banner ad unit and all of its support files), and my client would like to be able to review that ad in place. I found a lot of example code on the Web (some that I had

Re: [Rails] Carrierwave Direct and additional form elements

2014-07-16 Thread Walter Lee Davis
Oddly enough, this link just appeared in the Heroku newsletter e-mail: https://devcenter.heroku.com/articles/direct-to-s3-image-uploads-in-rails?utm_source=pardotutm_medium=newsletterutm_campaign=july While it uses Paperclip, the technical theory might be applicable to your (our) situation.

[Rails] Re: Nested Iterator

2014-07-16 Thread Jan Yo
Thanks -- 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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscr...@googlegroups.com. To post

Re: [Rails] Carrierwave Direct and additional form elements

2014-07-16 Thread Mark J. Lehman
Hm, yeah, that could work, though it doesn't seem to use Paperclip or Carrierwave, just straight jQuery File Upload. More complex than I had planned, but I'll give it shot. Thanks for the resource. On Wednesday, July 16, 2014 6:58:34 AM UTC-7, Walter Lee Davis wrote: Oddly enough, this link

[Rails] [JOBS] Ruby on Rails Developer (Team Leader) in Białystok

2014-07-16 Thread Maciej Liszyk
On behald of our client, we are currently looking for Ruby on Rails Developers: *Place of work: Białystok * *REQUIREMENTS* - at least 2 years of experience in programming Ruby on Rails - communicative command of English - desire to take on new challenges and manage a group of

[Rails] Startup Weekend: We are looking for developers and designers!

2014-07-16 Thread kate cheung
https://lh3.googleusercontent.com/-qQ39CJDQJpU/U8azuG4cNFI/AEw/KsXXj3gcx9c/s1600/StartupWeekend_Primary_V1_300_127.png Lifestyle, Health Wellness Startup Weekend San FranciscoAugust 1-3, 2014 *901 Mission St, Suite 105, San Francisco, CA 94103* Hello, My name is Kate Cheung and

[Rails] SQL OR in RoR

2014-07-16 Thread Mike Oles
I am new to RoR and I am trying to convert one of my old PHP applications into RoR. However, I am not having any luck finding out how to do an OR statement in RoR. My old statement in PHP is as follows... SELECT * FROM games WHERE home_team = {param} or away_team = {param} ORDER BY game_date ASC

[Rails] Re: Upload UTF-8 encoded textfile

2014-07-16 Thread Eric Saupe
Does setting config.encoding = utf-8 in your config/application.rb help? You'd also need to add # encoding: UTF-8 to the top of your file. I was reading this http://craiccomputing.blogspot.com/2011/02/rails-utf-8-and-heroku.html which seems to discuss this problem. On Wednesday, July 16,

[Rails] Re: SQL OR in RoR

2014-07-16 Thread Eric Saupe
@games = Game.sorted.where(home_team = :id OR away_team = :id, id: params [:id]) That should do the trick for you. You can have a string inside of your where statement that equates to SQL. You can then have named parameters that are used throughout the query as I have done above. In this case

[Rails] Re: SQL OR in RoR

2014-07-16 Thread Mike Oles
Thanks Eric. That did the trick. -- 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 unsubscribe from this group and stop receiving emails from it, send an email to

[Rails] Spare time + skills = good opportunity?

2014-07-16 Thread Yves Riel
Hi Guys, I have started the development of a web app targeting a niche market for the eLearning field. I have validated the concepts with subject matters in the field and the reception was very positive thus my interest in going a lot further with the project. I am a sw developer/sw architect

[Rails] Additional Ruby on Rails tutorials

2014-07-16 Thread Jason Hsu, Rubyist
I've gone through Michael Hartl's railstutorial.org, and I'm currently revisiting it. In fact, I use it as a resource for developing apps (especially in the early stages). I will also go through the railsbridge.org tutorial. Are there additional Ruby on Rails tutorials I should go through? I