search for: kekova

Displaying 12 results from an estimated 12 matches for "kekova".

2006 Jan 12
1
Effect.Puff Problem - first frame is wrong size
...d but the ''pos'' that gets calculated earlier seems pretty fishy. i.e. the first iteration it''s 6*10-8 plus or minus. Some weird math when 1-0 happens on the .from and .to. The next time through the loop it''s a decent value. Thanks, Chris Nolan.ca http://kekova.ca/
2006 Feb 22
15
Fixtures and Relationships
In my daily development, I migrate back and forth between versions, and often do: rake load_fixtures... ... in order to populate my development database with fun data. Now, with any HABTM relationship, there are failures, as there is no way to say "which" fixtures to load first. Within an actual functional or unit test case, you could simply load them in the proper order, but
2005 Dec 26
2
Dynamic order on has_many relationship?
...quot;, :order => "gtin" end If I had a column that was default_order on the Category, could it evaluate it and set the :order at the model level, or do I go in and get my record set and hardcode which relationship matches which value of the column? Thanks, Chris Nolan.ca http://kekova.ca/
2005 Dec 28
0
InPlaceEditor background image only shows first time?
...und coming from the class? First thing through it''s ok, but after that could the originalBackground be messed up? I dug a bit deeper and it looks like originalBackground is coming from the ''background-color'' attribute so it should... Thanks, Chris Nolan.ca http://kekova.ca/
2005 Dec 28
8
Rails app lags after inactivity
Hi all. I have two Rails applications. Each is on its own VPS hosted by Pipespring (excellent service btw). My app runs lightning quick - AFTER the first load. If I visit my site after a period of inactivity (i.e. no visitors to my site), it takes up to 10 seconds to load that first time. After that I can hop around with no problems. Has anyone run into this before? Ideas? - Rabbit
2005 Dec 28
1
Instance variables don''t persist between actions?
Following a simple example of the Rails book and using scaffolding I got a simple application to manage a user database. the controller is like: def new @user = User.new @text = "Hello World" end def create @user = User.new(params[:user]) if @user.save flash[:notice] = ''User was successfully created.'' redirect_to :action =>
2005 Dec 14
4
newbie q: Form element focus
This is probably a dumb question, but is there an easy way to set the focus of a form to the first visible/editable element? I''ve been googling lots and searching documentation and haven''t come up with anything. Help would be appreciated. -- Posted via http://www.ruby-forum.com/.
2005 Dec 29
5
Subversion graphical client?
Hi All - I notice that most of the Rails team are using Mac OS X and TextMate for Ruby development. I too am working on Mac OS X and trying TextMate and (shudder?) EMacs. I was wondering about version control. Are folks using Subversion? If so, are they using a graphical client? Which one do they recommend? Yours, Jordan -- Posted via http://www.ruby-forum.com/.
2005 Dec 26
3
data insertion in multiple tables
I have two tables like: Table A: id (autoincrement) name Table B id id_of_A desc I want to add a record to table A and based on the id of A, I want to add a record to table B. I don''t think there is any SQL command that support this (at least in MySQL 4.1, so I use LAST_INSERT_ID()). (Is there any other way? or MySQL 5 support any special SQL command?) But I need
2006 Jun 14
2
rjs issue with Internet Explorer
Hi, When executing some rjs templates: page.insert_html :bottom, ''contractors'', :partial => ''contractor'' page.visual_effect :highlight, "contractor#{@contract.contractor.id}", :duration => 1 Works fine on Firefox, but nothing happens on IE. Is there any equivalent of Firebug for Internet Explorer? Are there "well-known" tips for
2005 Dec 28
3
[Templates] [Noob] templates across controllers?
Fine Rails Hackers: I am trying to decide how to approach a templating concern. I would like to define a standard template for all of my pages (including a basic header, styles, footer) across my five base controllers: desktop, events, financials, and records, account. Is there a top level place to declare a template across the entire application regardless of the controller? I understand how
2005 Dec 25
4
How to display a welcome page
Wow, I can''t believe that after a few weeks of playing around with Rails I got stuck on something that seems like it should be really simple. How do I display a default welcome page for visitors who are not logged in and send logged in users to the appropriate controller. I am using the login_engine and the user_engine. The two methods I have seen looking at sample code are to stick a