Re: [Rails] helper function in database.yml not working from rake

2015-11-18 Thread ruud
On Wednesday, November 18, 2015 at 10:57:22 AM UTC+1, Rahoul Baruah wrote: > > > So any functions I had defined within config/initializers/storage.rb > should be available to the ERB parser. > > Hi Rahoul, I am going to try that. Thanks for your help. regards, Ruud

Re: [Rails] helper function in database.yml not working from rake

2015-11-18 Thread ruud
per solution for yml-helper functions I don't know. Maybe someone has advice on this. Ruud -- 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 rubyonra

[Rails] helper function in database.yml not working from rake

2015-11-17 Thread ruud
:setup or db:migrate, I get this error: $ rake db:setup RAILS_ENV=e /home/ruud/.rvm/gems/ruby-1.9.3-p551@rails32/gems/rspec-core-3.3.2/lib/rspec/core/shell_escape.rb:30: warning: already initialized constant SHELLS_ALLOWING_UNQUOTED_IDS rake aborted! NoMethodError: undefined method `re

[Rails] deploying rails application with tomcat: URL

2014-07-02 Thread ruud
the port and the document root (/invoices instead of /rails/invoices) in tomcat. Any ideas/pointers? thanks in advance! ruud -- 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

[Rails] Re: deploying rails application with tomcat: URL

2014-07-02 Thread ruud
I can't seem to figure out how I can change the port and the document root (/invoices instead of /rails/invoices) in tomcat. Changing the port number can be done in the Connector element in server.xml By changing the name of rails.war (generated by warbler) into ROOT.war, the rails

[Rails] Re: javascript rendered as text: why?

2014-03-20 Thread ruud
time, Ruud -- 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 email to rubyonrails

[Rails] javascript rendered as text: why?

2014-03-18 Thread ruud
dragdrop //= require controls I am out of ideas. Can somebody help me out of this? thanks in advance, Ruud -- 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

[Rails] associations give unexpected result during rspec test

2012-01-02 Thread ruud
the user of the subscription, the association is an empty array. To show it, I put some print statements in the example. I'm very much confused. Who can explain what I did wrong? describe Subscription do describe #can_send_message? do before( :each) do @ruud = User.create

[Rails] Re: beginners question

2009-02-28 Thread ruud
to this problem, I will put it in this thread. thanks, RUud --~--~-~--~~~---~--~~ 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 unsubscribe

[Rails] Re: beginners question

2009-02-27 Thread ruud
miss something in the documentation? regards, Ruud [ options hash delete from input tags] [inserted] %= observe_field( :date_none, :function = 'date_clicked(true)') % %= observe_field( :date_with, :function = 'date_clicked(false

[Rails] Re: beginners question

2009-02-27 Thread ruud
. I hope you can shine a light on this one; I don't know what I should start with... regards, Ruud --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups Ruby on Rails: Talk group. To post to this group, send email

[Rails] beginners question

2009-02-26 Thread ruud
/suggestions welcome! Especially the javascript part is bothering me: should it really be included in the html.erb file and at that point? Another thing is the radio_button_tags with the onclick. This is not good, is it? thanks in advance, Ruud === edit.html.erb (hopefully

[Rails] Re: beginners question

2009-02-26 Thread ruud
find there an explanation what I should have done. Thanks for your pointer, Ruud --~--~-~--~~~---~--~~ 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