[Rails] Re: rake precompile:assets throwing error

2013-06-23 Thread Remya s.
sith wrote in post #1109140: > I solved this by specifying the version of my gem 'newrelic_rpm' .I > still > can't figure out why I had to do so to solve my issue. Thanks, this worked for me by giving this line in gemfile - 'gem 'newrelic_rpm' , "3.5.4.33"' -- Posted via http://www.ruby-foru

[Rails] Re: ActiveRecord::Base.transaction - SystemStackError - stack level too deep:

2013-06-23 Thread Bob O
This is the TransactionAttributes module TransactionAttributes def success success end def success=(success) self.success = success end def errors errors end def errors=(errors) self.errors = errors end end The reason for these was i was trying to set a property on

[Rails] Re: ActiveRecord::Base.transaction - SystemStackError - stack level too deep:

2013-06-23 Thread Matt Jones
On Saturday, 22 June 2013 16:06:54 UTC-7, Bob O wrote: > > Im having an issue that seems to only happen when trying to use a > transaction. Ive used transactions many times in the past and Im at a loss > as to why im getting the stack level too deep problem. > > SystemStackError - stack level t

Re: [Rails] Re: uninstall dependencies along with the gem

2013-06-23 Thread Norbert Melzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am Sun, 23 Jun 2013 06:21:37 -0500 schrieb Jordon Bedwell : > On Sun, Jun 23, 2013 at 4:39 AM, Norbert Melzer > wrote: > > Also there are other dangers. Let's assume an RSS-Feed-Gem wich > > depends on Nokogiri. Also you have a rails app which depe

Re: [Rails] Contact form - NoMethodError (undefined method `each' for nil:NilClass)

2013-06-23 Thread Colin Law
On 23 June 2013 05:20, Máté Kaszás wrote: > Hi Guys, > > So basically I want a contact form to appear on all the service pages. > I've already created a contact form for the contact page which works > perfectly using this tutorial: > http://matharvard.ca/posts/2011/aug/22/contact-form-in-rails-3/

[Rails] Contact form - NoMethodError (undefined method `each' for nil:NilClass)

2013-06-23 Thread Máté Kaszás
Hi Guys, So basically I want a contact form to appear on all the service pages. I've already created a contact form for the contact page which works perfectly using this tutorial: http://matharvard.ca/posts/2011/aug/22/contact-form-in-rails-3/ Now I would like to implement this approach on the s

Re: [Rails] Re: uninstall dependencies along with the gem

2013-06-23 Thread Norbert Melzer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Am Sun, 23 Jun 2013 06:21:37 -0500 schrieb Jordon Bedwell : > On Sun, Jun 23, 2013 at 4:39 AM, Norbert Melzer > wrote: > > Also there are other dangers. Let's assume an RSS-Feed-Gem wich > > depends on Nokogiri. Also you have a rails app which depe

[Rails] Re: uninstall dependencies along with the gem

2013-06-23 Thread Ivan Histand
On Saturday, June 22, 2013 6:41:16 PM UTC-5, John Merlino wrote: > How do I uninstall spree and all of the gems that were installed along > with it? > Assuming you're working in bash: for gem in $(gem list spree --no-versions); do echo "working on $gem" gem uninstall $gem done "gem uninsta

Re: [Rails] Re: uninstall dependencies along with the gem

2013-06-23 Thread Jordon Bedwell
On Sun, Jun 23, 2013 at 4:39 AM, Norbert Melzer wrote: > Also there are other dangers. Let's assume an RSS-Feed-Gem wich depends on > Nokogiri. Also you have a rails app which depends on Nokogiri. > > Now you remove that RSS-Gem and your App suddenly stops working. Ok, that is > as easy as bundle

Re: [Rails] uninstall dependencies along with the gem

2013-06-23 Thread Colin Law
On 23 June 2013 00:41, John Merlino wrote: > I installed spree by adding it in gemfile. It was giving me errors, so I > went to the github site, and installed spree using "gem install spree". But > now it looks like i have two sets of gems for the dependencies of spree: > > spree_api (2.0.3, 0.40.

Re: [Rails] Re: uninstall dependencies along with the gem

2013-06-23 Thread Norbert Melzer
Also there are other dangers. Let's assume an RSS-Feed-Gem wich depends on Nokogiri. Also you have a rails app which depends on Nokogiri. Now you remove that RSS-Gem and your App suddenly stops working. Ok, that is as easy as bundle command but creates unnecessary traffic and consumes time. Am 23.