Re: [Rails] Turning URL varables into URLs

2017-10-16 Thread Aboobacker M K
You can use something like this get 'venue/:name:', to: 'venues#show' class VenueController def show # render the view by checking params[:name] end end Check the above linked routing guide for more details On Mon, Oct 16, 2017 at 12:58 AM, Hassan Schroeder <

Re: [Rails] something messed up my heroku build :(

2018-08-01 Thread Aboobacker M K
Issue here is, you are using master branch of ransack and ransack removed support for rails 4.x few days back. You will have to downgrade ransack or upgrade your rails version to fix this Here is the relevant commit in ransack

Re: [Rails] Why ApplicationRecord

2018-03-09 Thread Aboobacker M K
You can find rationale from original PR which introduced this feature https://github.com/rails/rails/pull/22567 On Fri, Mar 9, 2018 at 8:28 PM, fugee ohu wrote: > Why create an ApplicationRecord class inheriting from ActiveRecord::Base > and then have all models inherit