Re: [Rails] ActiveRecord::NoDatabaseError

2014-05-30 Thread Colin Law
On 28 May 2014 19:32, Sheyam Selvaraj smartshe...@gmail.com wrote: When I try to run my Ruby on Rails app it shows the error page I tried rake db:drop rake db:create rake db:migrate rake db:seed still the problem persists how can I fix this issue It is not a good idea to post an image,

Re: [Rails] Re: HTTPI::SSLError - Plz help

2014-05-30 Thread Usha Murali
Hi, In my system, netstat -nlt | egrep ':443' does output anything. So far i downloaded cert certificate, should'nt i do it instead create self signed cert in my local itself?? Also plz educate whatz the difference that these two , 1. set my host as SSL server 2.and simply self sign

[Rails] Re: SPECIALS RELATIONSHIP!?

2014-05-30 Thread Simon Eric
I resolved that problem. I done somethig like so to update each column: def update_multiple @postis = Posti.find(params[:posti_ids]) @postis.each do |posti| posti.update_column(:stato, params[:posti]) end redirect_to prenotazione_path(params[:spectacle_id]) end %=

Re: [Rails] Abridged summary of rubyonrails-talk@googlegroups.com - 21 updates in 15 topics

2014-05-30 Thread Irene White
Please change my email address: jimandirenewh...@gmail.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 rubyonrails-talk+unsubscr...@googlegroups.com.

[Rails] Re: Activity streams/News feeds with Aggregation, MySQL and Redis support

2014-05-30 Thread Thierry Schellenbach
Hi guys, I'm one of the authors of Feedly (python). So it does sound exactly like what you're looking for but in the wrong language :) The same team behind Feedly is also offering a hosted solution now called getstream.io Have a look at the getting started, https://getstream.io/get_started/ We

[Rails] Ruby multiline condition if statement syntax?

2014-05-30 Thread uorgi poen
Hello, if (verify_login_id = Login.where(params[:email_address], active =1).select('id')# = [#Login id: 767] verify_admin_id = Admin.where(login_id = verify_login_id.first.id).exists? #= true) statement else raise(ActiveRecord::RecordNotFound.new(Authorization is required to access this

Re: [Rails] Re: Not able to test cron job in development using Whenever gem in rails 3

2014-05-30 Thread Ankur Kumar
Thanks Matt for your reply! Unfortunately, I don't see any log file in suggested locations the blog referred to: /var/log/cron, /var/log/messages and /var/log/syslog There is no tail trace my development log file generates. I am using RVM and bundler for gems. I found similar issue for Rails 4

Re: [Rails] Rails Guide:For belongs_to associations, has_many inverse associations are ignored. not clear?

2014-05-30 Thread johnny
The example included says... class Customer ActiveRecord::Base has_many :orders, inverse_of: :customer end class Order ActiveRecord::Base belongs_to :customer, inverse_of: :orders end --- Later on, the guid mentions... There are a few limitations to inverse_of support: - They do