[Rails] What are the benefits of ruby on rails development?

2013-09-23 Thread Carmen R.
There are a number of companies engaged in offering Ruby on Rails application development or website designs. Benefits of ruby on rails development? •Quick website launch: In just a matter of 6 weeks you can have your complete website up and running compared to traditional methods that takes nea

[Rails] 400 bad request

2013-09-23 Thread Oto Iashvili
Hi, Im using nginx and rails for my site which contains url with georgian letters ie განცხადებები so something like http://gancxadebebi.ge/ka/%E1%83%92%E1%83%90%E1%83%9C%E1%83%AA%E1%83%AE%E1%83%90%E1%83%93%E1%83%94%E1%83%91%E1%83%94%E1%83%91%E1%83%98 It is mainly working perfectly but sometimes

[Rails] Best way to clear cache of layouts

2013-09-23 Thread Ildar Manzhikov
Hello, I have editable layouts in my application. It is not a good way to reset application, after each change of layouts by touch tmp/restart.txt Could someone propose other way to reset cache of layouts? Or better layout that exactly changed. Thanks, Ildar -- Posted via http://www.ruby-forum.

Re: [Rails] Create a Functional Test for Session Controller

2013-09-23 Thread andreo
And the answer his dont re-invent the wheel, look at something called devise. -- 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..

[Rails] Re: Strong parameters with has_many gives “no implicit conversion of Symbol into Integer”

2013-09-23 Thread Frederick Cheung
On Sunday, September 22, 2013 6:24:47 PM UTC+1, Timmie Sarjanen wrote: > > Trying to create a user from a json request but my server gives me > "typeError (no implicit conversion of Symbol into Integer)". I understand > that it's something wrong with my nested attribute but i dont know what, >

[Rails] redirect on browser success, but redirect on functional test is error

2013-09-23 Thread Taro Kimura
line_items.yml: one: product_id: 1 cart_id: 1 quantity: 1 carts.yml: one: {} product.rb: has_many :line_items cart.rb: has_many :line_items, dependent: :destroy line_item.rb: belongs_to :product belongs_to :cart line_item_controller.rb: def destroy @line_item = LineItem.find(params[:

Re: [Rails] Multitenancy and the options to realise it in rails4

2013-09-23 Thread Denny Mueller
Yeah I already found this, but I dont want to digg a complete book about this topic, a kind of summary or a discussion about it would be nice. regards denym_ Am Montag, 23. September 2013 06:29:37 UTC+2 schrieb tamouse: > > > On Sep 21, 2013, at 6:55 AM, Denny Mueller > > > wrote: > > > Ok th

[Rails] Re: Two ruby processes are running for one Rails app

2013-09-23 Thread Frederick Cheung
On Monday, September 23, 2013 2:00:36 PM UTC+1, Ruby-Forum.com User wrote: > > Frederick Cheung wrote in post #1122155: > > On Monday, September 23, 2013 1:12:00 PM UTC+1, Ruby-Forum.com User > > wrote: > >> It depends how you are running your app, but passenger for example has > a > > separ

Re: [Rails] How to save file to s3 after processing by ffmpeg using carrierwave

2013-09-23 Thread Walter Lee Davis
On Sep 23, 2013, at 9:57 AM, Loganathan Sellapa wrote: > HI Colin, > > Th temporary file is created with the reduced bitrate, but I am not able to > find an way to save the temporary file to s3. Simply I am trying to save the > converted file instead of original file, > > regards, > Loganath

[Rails] Re: Rails 4 deprecation of in-place edit methods for collection associations

2013-09-23 Thread Matt Jones
On Tuesday, 17 September 2013 00:43:15 UTC-5, George Georgiev wrote: > > Hi everyone! > > For those of you who are not noticed the in-place edit method for > collection associations are broken in the current rails release - 4.0.0, > and here's what is cooking in the rails master > https://githu

Re: [Rails] Fwd: How to save file to s3 after processing by ffmpeg using carrierwave

2013-09-23 Thread Loganathan Sellapa
HI Colin, Th temporary file is created with the reduced bitrate, but I am not able to find an way to save the temporary file to s3. Simply I am trying to save the converted file instead of original file, regards, Loganathan Mob: +91 7760780741 | +91 9944414388 Skype: loganathan.sellappa ViewMe <

Re: [Rails] errors.on equilvalent on Rails 4

2013-09-23 Thread Jordon Bedwell
On Sun, Sep 22, 2013 at 9:23 PM, Patrick Maciel Campos wrote: > I'm starting with RoR today, but I buy a RoR 3.2 book, and my installation > on Ubuntu is Rails 4 and Ruby 2.0. > > Anyway, in book I have this code: > > article.errors.on(:title) > But, not works in Rails 4. On was deprecated and re

[Rails] Re: Two ruby processes are running for one Rails app

2013-09-23 Thread Rosy Catz
Frederick Cheung wrote in post #1122155: > On Monday, September 23, 2013 1:12:00 PM UTC+1, Ruby-Forum.com User > wrote: >> It depends how you are running your app, but passenger for example has a > separate spawner process responsible for starting new application > instances. > > Fred > > PS: your

[Rails] Re: Two ruby processes are running for one Rails app

2013-09-23 Thread Frederick Cheung
On Monday, September 23, 2013 1:12:00 PM UTC+1, Ruby-Forum.com User wrote: > > Hi, > > I'm using ruby 1.8.7 with rails app(2.3.11) and deployed the app with > apache server. My app performance is too slow so i configured the app > with new relic and could see the ruby has 2 instances. One is

[Rails] Strong parameters with has_many gives “no implicit conversion of Symbol into Integer”

2013-09-23 Thread Timmie Sarjanen
Trying to create a user from a json request but my server gives me "typeError (no implicit conversion of Symbol into Integer)". I understand that it's something wrong with my nested attribute but i dont know what, this's driving me crazy.. My Javascript file: > user = { > email: @get('em

[Rails] [JOBS] Looking for Devs in India to work at US on Rhomobile

2013-09-23 Thread Shantanu Pandey
Hi, Please forward your resumes to care...@rhaegan.com to work on a India-United States (onsite + offsite) RoR development project on Motorola Rhomobile. Preference to H1B holders. If you have experience on Ruby on Rails, but not on RhoStudio, feel free to send your CV along as it won't take m

[Rails] submit-a-single-form-to-same-user-model-with-many-user-i

2013-09-23 Thread Ashwani kumar
Can anyone please help me with this question on SO ? http://stackoverflow.com/questions/18954178/submit-a-single-form-to-same-user-model-with-many-user-id-in-rails-3 -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from t

[Rails] errors.on equilvalent on Rails 4

2013-09-23 Thread Patrick Maciel Campos
Hello! I'm starting with RoR today, but I buy a RoR 3.2 book, and my installation on Ubuntu is Rails 4 and Ruby 2.0. Anyway, in book I have this code: article.errors.on(:title) But, not works in Rails 4. 2.0.0-p247 :074 > article.errors.on(:title)NoMethodError: undefined method `on' for

Re: [Rails] Fwd: How to save file to s3 after processing by ffmpeg using carrierwave

2013-09-23 Thread Colin Law
On 23 September 2013 13:01, Loganathan Sellapa wrote: > HI All, > > I am trying to convert the bit rate of the Mp3 file before uploading to S3, > I can able to create version for the mp3 file but the version is not saving > in s3 instead original file is uploading to s3, any help would be really >

[Rails] Two ruby processes are running for one Rails app

2013-09-23 Thread Rosy Catz
Hi, I'm using ruby 1.8.7 with rails app(2.3.11) and deployed the app with apache server. My app performance is too slow so i configured the app with new relic and could see the ruby has 2 instances. One is for ruby(nobody) =201 MB and one more for ruby(root)= 73.9 MB. I killed the processes but

[Rails] Re: Multiple Instances of Server?

2013-09-23 Thread Rosy Catz
Hi, I'm using ruby 1.8.7 with rails app(2.3.11) and deployed the app with apache server. My app performance is too slow so i configured the app with new relic and could see the ruby has 2 instances. One is for ruby(nobody) =201 MB and one more for ruby(root)= 73.9 MB. I killed the processes but

[Rails] Fwd: How to save file to s3 after processing by ffmpeg using carrierwave

2013-09-23 Thread Loganathan Sellapa
HI All, I am trying to convert the bit rate of the Mp3 file before uploading to S3, I can able to create version for the mp3 file but the version is not saving in s3 instead original file is uploading to s3, any help would be really appreciated version :bitrate_96k do process :resample => "