search for: boram

Displaying 9 results from an estimated 9 matches for "boram".

Did you mean: yoram
2006 Feb 27
4
update_attribute with Validation?
...he validation checks in the record model, so I''m wondering if there''s a workaround for this. In my application, I want to allow the user to update some or all the attributes without having to enter :password and :password_confirmation, both of which are subject to validation. Boram -- Posted via http://www.ruby-forum.com/.
2006 Apr 03
4
page.visual_effect :highlight not working
I just upgraded Ruby to 1.8.4 and Rails to 1.1 and I''m in the middle of changing my Javascript code over to the Scriptaculous helper functions. page.visual_effect :highlight, "some_div" seems to be broken. Instead of fading, the background color of the element stays highlighted. page.visual_effect works for other effects, though. Any ideas? Thanks. -- Posted via
2006 Mar 04
3
:class in link_to_remote?
Is there a way to set the class of a link in link_to_remote? I tried adding :class => "this_damn_class" after the :url hash and it didn''t work. I went ahead and did it manually using remote_function, i.e. <a class="this_damn_class" href="#" onclick="<%= remote_function ..., :url => {...} %>">My Link</a> -- Posted via
2006 Jan 24
3
AJAX Preview & Edit Page Problem
I''m new to RoR and have started building my first application. I''m building an account sign-up controller and I have two questions: 1. What is the best way to pass form params between methods in my sign-up controller? The solution I''m using seems too hacky and there''s got to be a something more elegant. I''m instantiating User.new to capture the
2006 Jan 20
8
validates_confirmation_of not working
is there any special requirement for validates_confirmation_of ? I am trying to make sure 2 passwords are equal (cleanly the rails way).. In my view i have two fields with id user[password] and user[password_confirmation]. in the model i have validates_confirmation_of :password, :message =>"Passwords do not match " Am i missing something here ? thanks adam
2006 Feb 06
0
Problem with login form in sidebar
...index'' gets rendered in the sidebar. However, when I comment out "session[:user_id] = @user.id", redirect_to properly refreshes ''index''. Has anyone had this problem or have a solution for doing sidebar logins? Why would sessions affect redirect_to? Thanks, Boram (As an aside, I previously attempted to implement this sidebar/login form using AJAX, but failed. The session was getting deleted after the redirect call in Javascript (window.location.href)...but that''s another story). -- Posted via http://www.ruby-forum.com/.
2020 May 26
0
[ANNOUNCE] libdrm 2.4.102
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 libdrm 2.4.102, lots of FreeBSD and modetest stuff. Boram Park (1): drm mode : fix memory leak when freeing drmModePropertyPtr Dave Airlie (1): Bump version to 2.4.102 Emil Velikov (17): tests: install drmdevice modetest: simplify "dump all" logic modetest: remove cursor/page_flipping_supported stubs modetes...
2006 Jan 05
8
AJAX to submit form, but reload the whole page
I''m using ROR 1.0 and the included prototype.js to do some AJAX stuff. I''m using the form_remote_tag to submit a login form using AJAX. So, any error/failed login will be displayed using AJAX. But, for successful login, I would want it to reload the wholepage, not just update the <DIV>. How can I achieve this? -- Posted via http://www.ruby-forum.com/.
2006 Jul 26
3
insert_html inserting fragment twice
Has anyone had trouble with inline RJS insert_html with the latest version of Rails? My problem is that insert_html inserts the html fragment twice. For example, render :update do |page| page.insert_html :top, "some_list", "<li>booyow</li>" end would render "<li>booyow</li>" twice. Thanks. -- Posted via