[Rails] Re: PostgreSQL GEM release with Table Inheritance features

2018-08-19 Thread koulikoff
hello, I did not understand. the gem should be used with "pg" or alone? On Sunday, August 19, 2018 at 2:09:09 AM UTC+2, Carlos Ferreira da Silva wrote: > > Hey Guys! I have just released a new version of my GEM > https://github.com/crashtech/torque-postgresql > Please, take a look, I added an

[Rails] Re: Rails & Postgres sandbox

2018-04-14 Thread koulikoff
Look at https://github.com/jeremyevans/sequel On Saturday, April 14, 2018 at 9:29:03 PM UTC+2, Ralph Shnelvar wrote: > > Ruby, > > I have a collection of Postgres tables I want my users to be able to > access (share)but not modify on my Rails website . I want each of them to > be able to

[Rails] Re: Ruby and gems versions in the Gemfile

2016-03-01 Thread koulikoff
I prefer keeping ruby version in Gemfile even when I do not use Heroku On Tuesday, March 1, 2016 at 2:32:18 PM UTC+3, krfg wrote: > > The Ruby on Rails Tutorial > by Michael Hartl uses a > Gemfile without specifying a Ruby version: the ruby

[Rails] Re: how do you keep up to date on gems ?

2014-03-01 Thread koulikoff
bundle outdated On Sunday, March 2, 2014 12:18:39 AM UTC+4, Jedrin wrote: I was asked an interview question on how I would keep an app's gems up to date. Suppose there was a new gem because of some security issue for instance ? Where I worked before, we locked the gems in the gem file

[Rails] Re: Cancan Rspec load_and_authorize_resource

2013-11-22 Thread koulikoff
hello, try this branch: https://github.com/dima4p/cancan On Friday, November 22, 2013 4:10:13 PM UTC+4, Ruby-Forum.com User wrote: Hello! While running bundle exec rake, I receive following error (see in attached file) However, my tests are steel passing with command rspec

[Rails] Re: Why Rails doesn't use their own technologies?

2013-05-03 Thread koulikoff
just try rake assets:precompile Le vendredi 3 mai 2013 18:04:18 UTC+4, Ruby-Forum.com User a écrit : I'm reading now about assets in Rails. Because I got errors on Heroku that my assets are not pre-compiled. On local machine everything works fine, on Heroku they are not pre-complied.

Re: [Rails] Re: Please, help to solve the problem

2012-08-06 Thread koulikoff
On Monday, August 6, 2012 5:42:49 AM UTC+3, hhuai wrote: require active_support/core_ext/date/acts_like miss this for acts_like_date? function. Yes, thank you very much -- You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to

[Rails] Please, help to solve the problem

2012-08-05 Thread koulikoff
$ ruby -v ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-linux] $ irb 1.9.3p0 :001 require 'rubygems' = false 1.9.3p0 :002 require 'active_support/core_ext/date/calculations.rb' = true 1.9.3p0 :003 require 'active_support/core_ext/integer/time.rb' = true 1.9.3p0 :004 require

[Rails] Re: Please, help to solve the problem

2012-08-05 Thread koulikoff
On Sunday, August 5, 2012 7:05:11 PM UTC+3, Ruby-Forum.com User wrote: Since this statement works fine if all of Rails is loaded then you must still be missing some required files. $ rails c Loading development environment (Rails 3.2.7) irb(main):001:0 Date.current = Sun, 05 Aug

[Rails] Re: client name embedded in the url (not subdomains)

2011-11-30 Thread koulikoff
1. I wander why the standard way of keeping the user data in the session does not fit you. 2. scope (:username), :username = /[-a-zA-Z]/ do other routes end should help On Nov 30, 11:07 pm, Dave Aronson googlegroups2d...@davearonson.com wrote: On Wed, Nov 30, 2011 at 04:00, johnnybutler7

[Rails] Re: Devise

2011-06-07 Thread koulikoff
I've created for the root_path the special method that redirects the user again preserving flash to the place defined by the user's role. On Jun 7, 9:03 am, Chris Kottom ch...@chriskottom.com wrote: Hi Fernando, I think this is the wiki page you're looking

[Rails] Re: Cancan redirect back at AccessDenied

2011-06-05 Thread koulikoff
If your request does not have the HTTP_REFERER defined, redirect_to :back does not know where to redirect. Ususally in this case root_url is used. I hope, it will not be too difficult for you to combine On Jun 5, 1:28 pm, Yiannis istoseli...@gmail.com wrote: Hello I have a rails 3 app and I am

[Rails] Re: HTML5 Forms

2011-04-29 Thread koulikoff
Yes, it does On Apr 29, 4:13 am, Alex Katebi alex.kat...@gmail.com wrote: Does Rail support HTML5 Forms? -- 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

[Rails] belongs_to cache

2011-04-15 Thread koulikoff
Hello, All! I've met the strange behavior and would like to ask the community if this is normal? class TradingAccount ActiveRecord::Base belongs_to :trading_account_type end $ rails c Loading development environment (Rails 3.0.5) irb(main):001:0 TradingAccountType.all.map(:id) = [1, 2]