ive successfully deployed admin_data onto heroku.
i can visit
myapp.herokuapp.com/admin_data
and the admin_data page shows. however it shows my development db. what's worse is that it actually shows my old entries (no longer exist).
is it possible for admin_data to show the production db?
i have an admin.rb file with the following...
AdminData.config do |config|
config.is_allowed_to_view = lambda {|controller| return true if (Rails.env.development? || Rails.env.production?) }
end
am i missing something?
ive looked at the https://github.com/bigbinary/admin_data/wiki but cannot seem to find anything about making the production db show up
thank you!
UPDATE:
sorry i must be mistaken but... isn't visiting myapp.herokuapp.com my production site? and if i create a user there, isn't it being stored on herokus pg database? i was trying to view that database, and i thought going to myapp.herokuapp.com/admin_data would display that while going to localhost:3000/admin_data would show the users from the db on my local machine.
how do i view the database thats storing the user created from heroku with admin_data?