Displaying 20 results from an estimated 47 matches for "lisbakken".
2006 Jul 17
7
Ajax Tabbed Browsing
...ld like to make a search function that updates a section of the
page with the results, as well as makes a new tab that displays those
search results. Then, if a user did 5 searches, there would be 5 tabs.
Each tab would hide the other 4 results and show the results for its
search.
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 26
4
can you pass data when you render :action
how can i do:
render :action => "headline", :id => @user.id
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jun 21
3
Call action & display nothing?
...a periodically_call_remote to an action but then not display
any new view? say the new action was called ADD. I don''t want to do an
rhtml file for add, and I don''t want to render anything in the
controller... I want to leave the page as it is. How is this done?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jun 30
5
Off Topic - Image size convertor?
I''ve been googling around, and have found a lot of tools to convert
images to the right pixel size - anyone have a good command line based
one for linux?
Also, how do you issue a command from a rails app?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 19
2
Mouse Location
...:
MOUSEY;});new Effect.toggle(''title_login'',''appear'');return
false;">Login</a
The other thing I''m wondering, is how would I reference the javascript
variables MOUSEX and MOUSEY in that line of code?
Or is there a better way to do this?
-Ben Lisbakken
p.s. how do i post that full h ref without all the weird modifications?
this forum keeps yelling at me because:
Your post seems to contain Spam: "".
--
Posted via http://www.ruby-forum.com/.
2006 Jul 25
11
Prevent users from entering urls
How could I make it so that links on my page could link to a controllers
action, but if the user manually entered the url, it would redirect them
back to the main page? Is this possible?
Thank you,
-Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 18
3
Navigation techniques, everyone?
...blems? will i be forced to use render
components? i''ve heard they''re evil)
2. Make it''s whole layout be a helper method in application_helper.rb,
and the views can call it when they need it.
3. Put it in my application.rhtml layout.
What do you guys think?
-Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 20
7
How do you use :message with validation?
If I do validates_uniqueness_of :name, :message => "It''s not
uniqueeee!!!"
then how do I have it display that message when the check fails?
-Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 31
2
How do you grab the source HTML from a url?
I want to grab all of the list of users from my app and make a nice
formatted list of them every week, and I was wondering what rails
command would grab the source html from a url?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 19
4
Using Application.rhtml as layout for all controllers
...t;
<head>
title
css include
javascript include
</head>
<body>
nav system
<%=yield%>
</body>
</html>
so that means any controllers go into the body immediatly - so can they
not have their own css files without specifying them in application
layout?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 16
3
RJS problem
I have an odd problem while trying to use a simple rjs.
_test.rjs : page.alert "test"
test.rhtml: <script><%=render_partial(''test'')%></script>
When I am attempting to view controller/test the page comes as if it was a
text file.
So i am actually seeing:
<!DOCTYPE html
PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2006 Jul 06
2
Scaffold with Foreign Key fields possible?
When you do a scaffold, is there a fast way to force it to let you enter
in data for any foreign/primary key fields?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 27
3
How do I update a div''s content in the controller?
Without using an RJS, is there a call I can do in the controller? All I
want to do is this statement, but in the controller:
new Effect.toggle(''notifier_nav'',''appear'', {duration:12.0});
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 18
5
mac users: what program do you use to create your views?
just wondering if there is a better way to create a nice view other than
using iweb. like, it would be nice if you can design a view, and then
just add the ruby tags.
thanks.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 26
1
RJS visual_effect toggle?
...n an RJS? If not, anyone have
recommendations for how to manually make it toggle? I guess I would
assume some boolean that the rjs checks everytime it''s called and
depending on whether it''s true or false it will do page.visual_effect
:appear or page.visual_effect :hide
-Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Aug 02
1
''Loaded Suite'' in http output
...adding a new plugin, File
Columns. Now, whenever I go to any part of the app, it outputs this:
-------------
Loaded suite /home/showfly/public_html/showfly2/dispatch.cgi Started
Finished in 0.000251 seconds. 0 tests, 0 assertions, 0 failures, 0
errors
-------------
What happened?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 17
19
updating model
hello,
i am writing a simple user login system.
when registering a user account, i have two field:
password
password_confirmation
which are validated using
validates_presence_of
validates_confirmation_of
and these are then used to generate a password hash which is stored in
my database
when i want to update the record (without changing the password and
entering new values for password and
2006 Jul 10
1
Paginating Problema :(
...Page link doesn''t work - it
adds the ?Page=2 but it doesn''t actually display the next page, it
displays the first page still.
What process actually happens when you hit next page? Does it reload
the action you''re in? What could the potential problem be?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 11
1
Can one controller use another''s Helper Methods?
If I have controller1 and controller2, how would controller1 call method
Arf in controller2''s helpers?
Thanks,
Ben Lisbakken
--
Posted via http://www.ruby-forum.com/.
2006 Jul 20
2
a rails model question
Hi all,
I am a newbie in ruby/rails.
I have a question about my database model:
table1: entities (name, description, author_id ...)
table2: relations (source_id, target_id, relation_type) (it describes
the relations between 2 entities and the relation type)
How can I define models using rails, or do I need to redefine my
database schema?
thank you
--
Posted via http://www.ruby-forum.com/.