Page does not display

I have these profiles for over a thousand users, and these profiles hold
addresses, phone numbers, etc, etc. Every profile works just fine except
for one that when the appropriate link is clicked I get a blank page.
When I look at the logs files I get the following error:

Filter chain halted as
[#<ActionController::Filters::ClassMethods::SymbolFilter:0x461a554
@filter=:set_update>] returned false.

I can only guess that this is the root of my problem. The thing is that
this tool has been in full use since March and I have never had this
type of problem. Has anyone encountered this issue before and how do you
fix it. Thanks in advance,

-S

I have these profiles for over a thousand users, and these profiles hold
addresses, phone numbers, etc, etc. Every profile works just fine except
for one that when the appropriate link is clicked I get a blank page.
When I look at the logs files I get the following error:

Filter chain halted as
[#<ActionController::Filters::ClassMethods::SymbolFilter:0x461a554
@filter=:set_update>] returned false.

find out why that filter is returning false.

Fred

Frederick Cheung wrote:

find out why that filter is returning false.

Fred

What's happening is that I have this before_filter that set some flags
and then returns. I pass an id along so I can instantiate a User object
and then save the set conditions of these flags. It is going through the
steps correctly, however, when I get to the line that save the object
and set flags it doesn't.

if @user.save
  return true
else
  return false
end

Not sure why it's no saving???

What's your database log say?

Can you post the relevant Ruby code?

Frederick Cheung wrote:

find out why that filter is returning false.

Fred

What's happening is that I have this before_filter that set some flags
and then returns. I pass an id along so I can instantiate a User
object
and then save the set conditions of these flags. It is going through
the
steps correctly, however, when I get to the line that save the object
and set flags it doesn't.

if @user.save
return true
else
return false
end

Not sure why it's no saving???

Failing validation perhaps. In a case like this where you're not doing
something useful with the return value of save then you might as well
use save!, at least you'll get an error when the save fails.

Fred