Tuesday, May 17, 2016

Rails 5.0.0.beta4 (April 27, 2016)

Rails 5.0.0.beta4 (April 27, 2016)

  • Disallow calling #deliver_later 
    in the wake of making neighborhood adjustments to the message which would be lost when the conveyance job is enqueued.

    Prevents a common, hard-to-find bug like:
    message = Notifier.welcome(user, foo)
    message.message_id = my_generated_message_id
    message.deliver_later
    
    The message_id is silently lost! Only the mailer arguments are passed to the delivery job.
    This raises an exemption now. Make alterations to the message inside the mailer method  rather, or utilize a custom Active Job to manage delivery instead of utilizing

    #deliver_later.
    Jeremy Daer
  • Removes -t from default Sendmail arguments to match the underlying Mail::Sendmail setting.
    Clayton Liggitt

Thursday, May 12, 2016

Rails 5.0 RC 1 is out


New Stuff

I am back again guys ,i will keep my postings m thanks for visiting .

Permit getting to all partners at the controller level 


With this aide intermediary, clients can reuse assistants in the controller without including every one of the modules identified with perspective setting.


Add ActiveModel::RangeError

When provided with large numbers, Active Model now fails with a newActiveModel::RangeError that makes it easier to rescue from, and inherits from RangeError to maintain backward compatibility.

Improved

Guarantee similarity between Rails Session and Rack Session 


Rails session is presently good with other Rack frameworks like Sinatra that are mounted in Rails. They can likewise utilize session tooling of Rails with no issues now.