Re: [Rails-core] [Feature request] content_tag do |el| ... end to create complex tags

2014-10-27 Thread Anuj Dutta
Hello, How about moving the conditional to a helper in your first example? Just curious to know if you would prefer that approach. Thanks. Anuj On 26 Oct 2014 17:34, "Pier-Olivier Thibault" wrote: > > Hello everyone, > > I have a feature request here that comes from an internal struggle here b

Re: [Rails-core] ActiveRecord and sql tuple support

2013-05-22 Thread Anuj Dutta
>> >>> >> >> -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to rubyonrails-core+unsubscr...@googlegroups.com. >

Re: [Rails-core] #all changes in 4.0

2013-02-28 Thread anuj dutta
On 28 Feb 2013, at 21:46, Will Bryant wrote: > You have to use reload.to_a to work with everything (enumerable methods for > eg.). > > Can we have a method that does this and make it part of the stable API, > please? That's what #all has always done and it's pretty basic functionality. > >

Re: [Rails-core] Support for views on activerecord

2012-07-12 Thread Anuj Dutta
>> You received this message because you are subscribed to the Google Groups >> "Ruby on Rails: Core" group. >> To post to this group, send email to rubyonrails-core@googlegroups.com. >> To unsubscribe from this group, send email to >> rubyonrails-core+uns

Re: [Rails-core] Rails API is still pointing to 3.2.3

2012-06-06 Thread Anuj Dutta
uot;Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-cor

Re: [Rails-core] A "strict Arel" mode for ActiveRecord to prevent SQL injection vulnerabilities

2011-11-28 Thread Anuj Dutta
J. > > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > -- Anuj DUT

Re: [Rails-core] [threadsafe] Arel ToSql visitor is not threadsafe

2011-05-05 Thread Anuj Dutta
rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > > -- Anuj DUTTA -- You received this message becau

Re: [Rails-core] Arel - clone bug (and fix), feature requests

2011-04-27 Thread Anuj Dutta
ls-core?hl=en. > > > > > > -- > > You received this message because you are subscribed to the Google > > Groups "Ruby on Rails: Core" group. > > To post to this group, send email to rubyonrails-core@googlegroups.com. > > To unsubscribe from this

[Rails-core] Re: master branch errors

2011-02-28 Thread Anuj Dutta
Hello all, Is the master branch currently broken as I seem to get quite a lot "*memory allocation errors*"? I actually thought it was my environment but everything works fine for 3.0.5. Can anyone point me in the right direction? I am using *ruby-1.9.2-p180*. Thanks. Anuj --

Re: [Rails-core] Re: Looking for maintainers of Rails plugins

2011-02-04 Thread anuj dutta
Hey Patrick, Thanks. Anuj On 4 Feb 2011, at 18:40, Patrick Robertson wrote: > Hey Anuj, > > Gave you push & pull on the velir fork for OpenID auth... probably > easier than adding the team to yours. > > -Patrick Robertson > > On Feb 4, 12:21 pm, Anuj Du

Re: [Rails-core] Re: Looking for maintainers of Rails plugins

2011-02-04 Thread Anuj Dutta
Hello Patrick, Would you like to collaborate on open_id_authentication? Anuj On 4 February 2011 17:14, Anuj Dutta wrote: > Sorry, I should have pasted the links in: > > https://github.com/andhapp/open_id_authentication > > https://github.com/andhapp/asset_server >

Re: [Rails-core] Re: Looking for maintainers of Rails plugins

2011-02-04 Thread Anuj Dutta
s.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > > -- Anuj DUTTA -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyon

Re: [Rails-core] Re: Looking for maintainers of Rails plugins

2011-02-04 Thread Anuj Dutta
ot; group. > > >> To post to this group, send email to > rubyonrails-core@googlegroups.com. > > >> To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > . > > >> For more options, visit this group athttp:// >

Re: [Rails-core] Looking for maintainers of Rails plugins

2011-02-02 Thread Anuj Dutta
-- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-core@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.c

Re: [Rails-core] Merge db:migrate + db:test:prepare

2010-09-21 Thread Anuj Dutta
; -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+un

Re: [Rails-core] Re: Exclude ActiveRecord in Rails3

2010-09-01 Thread Anuj Dutta
Yup, that basically does what Ryan mentioned, changes rails/all to load individual frameworks (excluding activerecord ofcourse) Anuj On 2 September 2010 02:21, Anuj Dutta wrote: > Aha...cool. Thanks. > > Anuj > > > On 2 September 2010 02:20, Rodrigo Rosenfeld Rosas wrot

Re: [Rails-core] Re: Exclude ActiveRecord in Rails3

2010-09-01 Thread Anuj Dutta
Aha...cool. Thanks. Anuj On 2 September 2010 02:20, Rodrigo Rosenfeld Rosas wrote: > For a new application, you can do: > > rails new myapp --skip-active-record > > Em 01-09-2010 22:17, Anuj Dutta escreveu: > >> Thanks. I thought there might be a better way to achi

Re: [Rails-core] Re: Exclude ActiveRecord in Rails3

2010-09-01 Thread Anuj Dutta
end > end > > I've removed active_record from the above array. > > > On 2 September 2010 11:07, Anuj Dutta wrote: > >> What's the best way to exclude ActiveRecord in Rails3? >> >> >> In Rails2, one could just do: >> >> *config.fra

[Rails-core] Re: Exclude ActiveRecord in Rails3

2010-09-01 Thread Anuj Dutta
What's the best way to exclude ActiveRecord in Rails3? In Rails2, one could just do: *config.frameworks -= [ :active_record ]* in the configuration block in environment.rb. Is it possible in Rails3? Thanks. Anuj -- You received this message because you are subscribed to the Google Groups "R

[Rails-core] Re: Rails 3.0.0.rc2 installation

2010-08-25 Thread Anuj Dutta
Hello all, Just to highlight this trivial error (gist: http://gist.github.com/550335) on installing 3.0.0.rc2. Shouldn't hanna be part of rails3 libraries just like bundler and i18n? Anuj (@andhapp) -- You received this message because you are subscribed to the G

Re: [Rails-core] make loading full rubygems optional

2010-07-05 Thread Anuj Dutta
-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > -- Anuj DUTTA -- You received this message becaus

Re: [Rails-core] Help with Paperclip and ImageMagick on windows

2010-06-29 Thread Anuj Dutta
er.rb:162:in `start' > C:/Ruby/lib/ruby/1.8/webrick/server.rb:162:in `start_thread' > C:/Ruby/lib/ruby/1.8/webrick/server.rb:95:in `start' > C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `each' > C:/Ruby/lib/ruby/1.8/webrick/server.rb:92:in `start' > C:

Re: [Rails-core] Where is Rails 3 documentation?

2010-06-08 Thread Anuj Dutta
Try this: http://edgeguides.rubyonrails.org Anuj @andhapp -- -Original Message- From: Rodrigo Rosenfeld Rosas Sender: rubyonrails-core@googlegroups.com Date: Tue, 08 Jun 2010 09:05:09 To: Reply-To: rubyonrails-core@googlegroups.com Subject: [Rails-core] Where is Rails

Re: [Rails-core] Re: Trouble developing Rails plugins/gems with generators

2010-05-12 Thread Anuj Dutta
e" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en

Re: [Rails-core] Re: Trouble developing Rails plugins/gems with generators

2010-05-12 Thread Anuj Dutta
"." > > Which just doesn't feel right ;) > > Thanks! > > > Just have a look at rails3-generators in github. It has got generators for datamapper, haml and so on. I am sure you can find clues there. > > On May 12, 10:27 am, Anuj Dutta wrote: > > On 12 Ma

Re: [Rails-core] Re: Trouble developing Rails plugins/gems with generators

2010-05-12 Thread Anuj Dutta
rails-core+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > > -- Anuj DUTTA -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To

Re: [Rails-core] Trouble developing Rails plugins/gems with generators

2010-05-12 Thread Anuj Dutta
received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > .

Re: [Rails-core] Ruby Summer of Code Project

2010-04-20 Thread Anuj Dutta
t; > keep working on it today/tomorrow to send a copy to the ML looking for > > input once it's done. > > > > Thanks for comments guys. > > > > -- > > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core&

Re: [Rails-core] Introducing Object#self

2010-04-09 Thread Anuj Dutta
> . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > > -- Anuj DUTTA -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To post to this group, send email to rubyonrai

Re: [Rails-core] Re: rails timezone difference in console and production application

2010-04-08 Thread Anuj Dutta
someone having the same problems or had the same experience? > > > > Stijn > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. >

[Rails-core] Re: Segmentation fault with 1.9.2-head

2010-04-07 Thread Anuj Dutta
Hello all, Has anyone got Segmentation Fault errors with ruby 1.9.2-head on running rails test suite? I know there was an issue with 1.9.1 but I thought 1.9.2 was preferred ruby version to use. Anuj -- Anuj DUTTA -- You received this message because you are subscribed to the Google Groups

Re: [Rails-core] Testing Rails Engine plugins with Rails 3

2010-02-14 Thread Anuj Dutta
; To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > > --

Re: [Rails-core] DataMapper on Rails3

2010-02-08 Thread Anuj Dutta
this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > . > For m

Re: [Rails-core] Re: The state of mountable apps

2010-02-07 Thread Anuj Dutta
rubyonrails-core+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://groups.google.com/group/rubyonrails-core?hl=en. > > -- Anuj DUTTA -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" gro

Re: [Rails-core] Re: Rails 3 generators for scaffolding models according to selected ORM - how?

2010-01-27 Thread Anuj Dutta
> http://github.com/snusnu/datamapper_on_rails3 > > cheers > snusnu > It was working fine for me too. Thanks, anyways. Anuj > > On Wed, Jan 27, 2010 at 20:31, Anuj Dutta > wrote: > > > > > > 2010/1/28 Anuj Dutta > >> > >> > >>

Re: [Rails-core] Re: Rails 3 generators for scaffolding models according to selected ORM - how?

2010-01-27 Thread Anuj Dutta
2010/1/28 Anuj Dutta > > > 2010/1/28 Kristian Mandrup > > Here is my repo ;) Thanks! >> >> http://github.com/kristianmandrup/datamapper_rails3_demo >> >> > > Hello, I just created a new Rails3 app and used your gemfile and scaffold data_mapper

Re: [Rails-core] Re: Rails 3 generators for scaffolding models according to selected ORM - how?

2010-01-27 Thread Anuj Dutta
> > > > "Ruby on Rails: Core" group. > > > > > To post to this group, send email to > rubyonrails-core@googlegroups.com > > > . > > > > > To unsubscribe from this group, send email to > > > > > rubyonrails-core+unsubscr...@googlegroups.com >

Re: [Rails-core] Re: Rails 3 generators for scaffolding models according to selected ORM - how?

2010-01-27 Thread Anuj Dutta
2010/1/27 Kristian Mandrup > Hi Anuj Dutta, > > Yes, I found rails3_datamapper by snusnu previously and had a look at > it since I also thought I could get some inspiration from it. > I think the repository you mention is an old one, my mongo_model_m3 > repo works just

Re: [Rails-core] Re: Rails 3 generators for scaffolding models according to selected ORM - how?

2010-01-27 Thread Anuj Dutta
gle Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > . > For more options, visit this group at > http://group

Re: [Rails-core] Critical Rails 3 scaffold error - undefined method `to_sym' for nil:NilClass

2010-01-27 Thread Anuj Dutta
received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com >

Re: [Rails-core] Rake and more doesn't work in edge rails

2010-01-23 Thread Anuj Dutta
s message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > . > For mor

Re: [Rails-core] Re: CI Server for Rails

2010-01-13 Thread Anuj Dutta
2010/1/14 Chad Woolley > On Wed, Jan 13, 2010 at 1:34 PM, Anuj Dutta > wrote: > > Thanks for the correct. Well, I have started looking into Chef and really > > got no where with it :o( but I will keep trying. > > No, I apologize - I didn't read your email closel

Re: [Rails-core] Re: CI Server for Rails

2010-01-13 Thread Anuj Dutta
2010/1/14 Chad Woolley > On Wed, Jan 13, 2010 at 11:55 AM, Anuj Dutta > wrote: > > Hello all, > > > > Has anyone tried installing and running the CI server for their local > fork > > of Rails? I have just been trying to do that and for one think the > > i

[Rails-core] Re: CI Server for Rails

2010-01-13 Thread Anuj Dutta
Hello all, Has anyone tried installing and running the CI server for their local fork of Rails? I have just been trying to do that and for one think the instructions are poor and dated and must be updated since all new *Rails 3*is in the town. I had a word with Chad Woolley (thewoolleyman) who di

Re: [Rails-core] help - error loading....

2010-01-12 Thread Anuj Dutta
are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscribe from this group, send email to > rubyonrails-core+unsubscr...@googlegroups.com > . > For more options, visit this grou

Re: [Rails-core] Re: Question about coding style in Rails 3 source

2010-01-12 Thread Anuj Dutta
t > > >http://groups.google.com/group/rubyonrails-core?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Ruby on Rails: Core" group. > To post to this group, send email to rubyonrails-c...@googlegroups.com. > To unsubscr