Re: [Rails] [Rails 3.2] How to extend a gem model

2015-10-12 Thread Romiras
I'm trying to run migration to allow translation of tags with Globalize gem. I've added config/initializers/acts_as_taggable_on.rb with following content: ActsAsTaggableOn::Tag.class_eval do translates :name end Running "bundler exec rake db:migrate" fails with error message: undefined method

[Rails] Gem to bechmark your methods

2015-10-12 Thread Igor Kasyanchuk
Benchmark and measure execution time your Ruby methods without an additional code changes: https://github.com/igorkasyanchuk/benchmark_methods Please put a star if you like it! Thank you! Your feedback is appreciated. Sample: class User < ActiveRecord::Base include BenchmarkMethods benchmark

[Rails] Direct hire Ruby on Rails Developer- NYC- Washington Park area

2015-10-12 Thread Jennifer SB
NO H1 or Third parties This is a full time direct hire role. 3+ years experience developing applications using Ruby on Rails 5+ years total software engineering experience Strong software engineering & architecture fundamentals We are seeking a talented and organized Senior Developer to play

Re: [Rails] Unreachable database

2015-10-12 Thread Renato Serra
Thanks for your reply Hassan, yeah i kinda forgot about the front end server as its just under development. That would do indeed, i just thought there would be a more graceful way to handle this from the app side :) On Sunday, October 11, 2015 at 2:56:53 PM UTC+1, Hassan Schroeder wrote: > > O

[Rails] Re: Too many sessions in a rails 4 app.

2015-10-12 Thread Matt Jones
On Saturday, 10 October 2015 15:57:25 UTC-4, Ruby-Forum.com User wrote: > > I am building an E-commerce website on ruby on rails from scratch. > > My product belongs to a subcategory which in-turn belongs to a category. > > My filters partial include multiple check-boxes for > category,subcate

[Rails] Paperclip temp files eating my server!

2015-10-12 Thread Walter Lee Davis
I am using the Rails console to move some files from one site to another. Inside a loop, I use the technique* advised in the Paperclip wiki to set the remote_url of the attachment to the correct URL, and then call save on the model, which copies the file over and runs it through the various res

[Rails] Social auth in rails api

2015-10-12 Thread Chirag Jain
Checkout devise_token_auth -- 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 to this group, send emai