I have a question about something weird that is happening to me.

I have a rails app, that I pre populated with some pre defined users, I run the command `rake db:seed` and it creates those users, I check with `rails c` and run `User.all` there they are. I run `User.find(1)` it returns a user. Ok, no problem.

But, when I start up the app, I have in one of my `user.rb`, the following code

`User.find(1) # I know that this user will have a fixed id throughout every environment` 

But... it doesn't find, I get an `ActiveRecord::RecordNotFound` Exception.

My goal, is after creating a new user in the database, to receive an welcome message from the `User.find(1)`. Can it be related to the fact that it's within a ActiveRecord callback, `after_commit` 

EDIT:

My code is simple, after creating a new user, it recieves a message from a user `where(email: "theemail").first` 

So my user.rb model has the following snippets:

```
after_commit :send_welcome_message

def send_welcome_message
  welcome_user = User.where(email: "xyz").first
  Conversation.send_welcome_message(self, welcome_user) 
end

```

I placed a debugger in the `send_welcome_message` checked the `User.all.size` and returned 1. I used the rails console, and the same query, returned 5.