# Page does not display

**URL:** <https://www.ruby-forum.com/t/page-does-not-display/148344>\
**Category:** Rails\
**Created:** [September 11, 2008, 10:19pm UTC](https://www.ruby-forum.com/t/page-does-not-display/148344 "2008-09-11T22:19:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [September 11, 2008, 10:19pm UTC](https://www.ruby-forum.com/t/page-does-not-display/148344/1 "2008-09-11T22:19:18Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [September 11, 2008, 10:22pm UTC](https://www.ruby-forum.com/t/page-does-not-display/148344/2 "2008-09-11T22:22:09Z")

</div>

On Sep 11, 9:19 pm, Shandy N. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> 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

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [September 11, 2008, 10:46pm UTC](https://www.ruby-forum.com/t/page-does-not-display/148344/3 "2008-09-11T22:46:25Z")

</div>

Frederick C. 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???

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [September 12, 2008, 3:32am UTC](https://www.ruby-forum.com/t/page-does-not-display/148344/4 "2008-09-12T03:32:37Z")

</div>

Can you post the relevant Ruby code?

Sent from my iPhone

On Sep 11, 2008, at 6:10 PM, “Hassan S.”  
\<removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [September 12, 2008, 10:48am UTC](https://www.ruby-forum.com/t/page-does-not-display/148344/5 "2008-09-12T10:48:43Z")

</div>

On 11 Sep 2008, at 21:46, Shandy N. wrote:

> 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

---

<div class="post-metadata">

**Author:** ![snantz](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/s/c2a13f/32.png) [@snantz](https://www.ruby-forum.com/u/snantz)\
**Post date:** [September 12, 2008, 3:11am UTC](https://www.ruby-forum.com/t/page-does-not-display/148344/6 "2008-09-12T03:11:31Z")

</div>

On Thu, Sep 11, 2008 at 1:46 PM, Shandy N.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) wrote:

> 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.

> Not sure why it’s no saving???

What’s your database log say?

–  
Hassan S. ------------------------ removed\_email\_address@domain.invalid
