[Rails] Re: ActiveRecord/ActiveModel freezes attribute values in Rails 5 (possible bug)

2017-11-10 Thread Kris
Looks like this was a bug and is fixed: https://github.com/rails/rails/commit/8de7df5b22e853f028e5a71b26d45a0ce7a2c0f4#diff-da764be48e98c7b140730924b50595b0 On Friday, 10 November 2017 10:26:31 UTC, Kris wrote: > > key = 'foo' > > key.frozen? # => false > > TextFieldDefin

[Rails] ActiveRecord/ActiveModel freezes attribute values in Rails 5 (possible bug)

2017-11-10 Thread Kris
key = 'foo' key.frozen? # => false TextFieldDefinition.create(key: key) key.frozen? # => true (not expected) I created a minimal example to demonstrate the bug this but it does not reproduce it. It

[Rails] how to use single login page for users in four models

2013-07-05 Thread ram kris
how to use single login page for users in four models -- 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] Ruby on rails /config/environments/development.rb clarification

2012-07-19 Thread Kris
In ruby on rails, i need to change SMTP settings in /config/environments/development.rb. After making the changes is it required to restart apache or any ather service? Actually the mail is not getting still. -- You received this message because you are subscribed to the Google Groups Ruby

[Rails] Re: couldn't find file 'jquery' rails 3.1 stable mountable engine

2011-09-19 Thread Kris
The solution for me was to add jquery-rails to my engines Gemfile and restart the server. I would suspect that it does not want adding to the gemspec however, however adding it as a development dependency might be okay. -- Kris. On Sep 12, 7:57 pm, tothemario tothema...@gmail.com wrote: I had

[Rails] Re: Mail filters like functionality in Ruby on Rails

2010-12-10 Thread Shan Kris
advanced at this point of time. Thanks for the response. -Shan Marnen Laibow-Koser wrote in post #967433: Shan Kris wrote in post #967422: For my new project, I need a functionality like mail filters. There will be a set of rules with associated actions. When an user submits a request, it needs

[Rails] Re: Mail filters like functionality in Ruby on Rails

2010-12-10 Thread Shan Kris
Hi Hassan, Earlier, I have tried searching both 'Ruby version of Drool' and 'Ruby Rules Engine', didn't get exactly what I was looking for. Thanks, Shan Hassan Schroeder wrote in post #967482: On Thu, Dec 9, 2010 at 5:59 AM, Shan Kris li...@ruby-forum.com wrote: For my new project, I need

[Rails] Mail filters like functionality in Ruby on Rails

2010-12-09 Thread Shan Kris
For my new project, I need a functionality like mail filters. There will be a set of rules with associated actions. When an user submits a request, it needs to be passed through these rules for filtering. In case any one of these rules matches, the corresponding action should be triggered (the

[Rails] select tag with unique values from db

2010-05-03 Thread Kris Mojica
Hi. I just want to ask some help regarding my simple project. i'm a rails newbie and right now, quite stuck with this. I have this select_tag in my rhtml.. %= select_tag 'search[outcome]', options_for_select([, qp1, qp2, Not Processed], (params[:search] params[:search][:outcome])) % it works

[Rails] Re: select_tag

2010-04-15 Thread Kris Mojica
, Kris Mojica a �crit : -- 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 post to this group, send email to rubyonrails-t...@googlegroups.com. To unsubscribe from this group, send email

[Rails] select_tag

2010-04-14 Thread Kris Mojica
a stupid question from a newbie.. how can i populate my select_tag with the values from a SELECT DISTINCT statement? thanks for bearing with my stupidity.. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups Ruby on Rails:

[Rails] Re: Multi-Tier Architecture in Ruby on Rails?

2009-10-28 Thread Kris Williams
I think what Suki means is distributed architecture, as in: database server, caching server, application server(s) and web farm. In most enterprise environments you would connect distributed applications to a middle-tier server using SOA (UDDI/WSDL/SOAP), but the Ruby/Rails ilk seem to reject

[Rails] Re: flush buffer in rails

2009-09-16 Thread Kris Leech
Looks like this is only possible when using FastCGI. http://markmail.org/message/3g7yvrq2oum6a5h4#query:+page:1+mid:yhiw6xqawegwokfg+state:results -- Posted via http://www.ruby-forum.com/. --~--~-~--~~~---~--~~ You received this message because you are

[Rails] Re: ERB templates in the database

2009-07-08 Thread Kris Leech
I've been looking in to rendering safe templates recently. There are a few options I have been exploring... 1.) JRuby Sandbox - There is a recent video presentation knocking about that is worth checking (I couldn't find it via Google) 2.) Safemode