search for: grigorik

Displaying 10 results from an estimated 10 matches for "grigorik".

Did you mean: grigoriu
2006 May 28
14
Lightbox and RJS
Hi, I am trying to include lightbox functionality in my app, but there is a slight complication. Apparently lightbox initializes all the links to lightbox events on page load. However, in my case, some new links to lightbox events will be rendered to the page through ajax events (obviously this means after the page loads). So I figure I need to find a way to call lightbox''s
2006 May 12
7
RJS and page.select collection size
I need to implement a conditional in my RJS template which looks something like: if (page.select(''row1'').first != null) page << "new TableRow.MoveAfter(''row1'', ''newrow'');" else page << "new TableRow.MoveAfter(''row2'', ''newrow'');" end Now, dumb question.. My
2006 Oct 18
3
[Bug] Seg Faulting in index.rb:718
Hey, Ferret is repeatedly seg-faulting my mongrel servers on the same line: /usr/local/lib/ruby/gems/1.8/gems/ferret-0.10.11/lib/ferret/index.rb:718: [BUG] Segmentation fault ruby 1.8.5 (2006-08-25) [i686-linux] I''m using ferret 0.10.11. I haven''t had the time to dig into yet, it''s on the backburner right now - I just keep several spare servers and restart them
2006 Sep 22
15
Win XP / Ferret & Acts_as_ferret .dump problem
Hey, Has anyone managed to bypass or fix the ferret''s .dump method problem? When I include acts_as_ferret my whole rails app just blows up because of Ferret''s .dump method. Ex: --- print "\t hello".dump >> "\t hello">Exit code: 0 --- --- require ''ferret'' print "\t hello".dump >> " hello"(NUL
2006 May 24
1
Automagic number of views/clicks?
Hey, Just wondering.. Are there are any automagic constructs in rails for keeping track of number of views/clicks associated with the record? For example, created_at and updated_at are automagically updated on edit/new actions, are there any similar constructs for clicks/views of the record? Thanks. Ilya -- Posted via http://www.ruby-forum.com/.
2011 Nov 22
4
A "strict Arel" mode for ActiveRecord to prevent SQL injection vulnerabilities
Hello rubyonrails-core, I’ve been looking into possible changes to ActiveRecord / Arel to make it easier to write Rails applications that are free of SQL injection vulnerabilities, and in particular do so in a way that makes it easy for a code reviewer to verify that the app is safe from such bugs. The concern: ----------------- With the ActiveRecord API as is, it’s relatively easy to write
2006 Jun 07
0
Adding ''author'' functionality to UserEngine / RBAC roles
I''m trying to add / extend the default UserEngine schema (Guest/User/Admin) to support author only Update/Delete functions. At the moment, I allow ''Guest'' to read/view all records, and User additionaly has access to create/edit/destroy, however this means that any registered user is able to modify any record. My first thought was to add another filter in the chain
2006 May 28
1
Changing module name - help!
When I started developing my application I grouped my controllers in the followin g fashion: User::ControllerName. Now I''ve realized that the ''User'' module is a misnomer for my current controllers and I need to use the User module for something else, so I decided to change the controllers in the ''User'' module to ''Data''.
2006 May 30
0
UserEngine / LoginEngine + file upload
I''m trying to setup loginengine/userengine for my site, and I''ve added one extra field to the ''user'' table, which is supposed to store the filename of the user''s picture. Now, I have upload_progress/file_column working on other parts of my site, but when I try to submit a multipart from within user/edit controller I get the following error message
2007 Apr 01
1
Ajax response not evaluating?
This is an odd one. I just noticed that for some odd reason, my ajax responses on graphics-world.com (rate a tutorial, report a tutorial, etc.) are not being evaluated. To make the puzzle even more interesting, it does work fine when a user is logged in! Looking at the request/response cycle in Firebug, everything is fine. Here is a sample response for non-logged in user: