Displaying 13 results from an estimated 13 matches for "pazu".
Did you mean:
pau
2006 Apr 10
6
image_tag adding request parameter
I have noticed that the image_tag helper method now appends a request
parameter to the generated src attribute. With Rails
1.0/actionpack-1.11.2 I had
<img src="/images/rss.gif" />
Now (1.1/1.12.1) I get
<img alt="Rss" border="0" src="/images/rss.gif?1142366545" />
Is there any use for that number? Where does it come from?
This is very far
2006 Mar 21
5
Object#id being deprecated - Rails 1.1
Hi
Think this is probably straightforward, but I don''t know enough about
rails to work it out, so was wondering if anyone can help
I keep on running into this error when I''m deploying my app:
"FastCGI: server ".../public_html/public/dispatch.fcgi" stderr:
../config/../app/views/items/_side_share.rhtml:8: warning: Object#id
will be deprecated; use
2006 May 19
7
AR transactions and isolation levels
I''m trying to create a sequence with no gaps in my db (contrived
example, but should work out the same as my real one), and believe
db-managed transactions are the way to go about this.
It''s my first real ''go'' at transactions, so I may be mistaken about
how things really work.
Anyway.. Consider this example code:
Class Invoice < ActiveRecord::Base
def
2006 Mar 09
11
syncPEOPLE on Rails TextMate Bundle 1.0 & Screencast
The 1.0 version of our bundle is now available for download, along
with a 10 minute demonstration of it in use. See http://
syncpeople.com/downloads.
== What is syncPEOPLE on Rails? ==
syncPEOPLE on Rails is a bundle of snippets, macros and commands for
TextMate that make Rails development on the Mac even easier.
Generate scaffolds, migrations, models and controllers from inside
the
2006 Mar 27
2
svg image link
the link_to command is really nice, especially with confirm built in -
wondering if there is a way to use it with SVG images since SVG doesn''t
seem to work with image_tag
I can display svg images (in Firefox) with the following code:
<embed width=32 height=32 src="/images/quit.svg"
type="image/svg+xml"></embed>
"normal" link_to code:
2006 Jun 21
6
Sort table by child row property?
I''m building a simple forum system which features a topics and a posts
table. The topic model has a has_many association with the post model,
i.e.:
class Topic < ActiveRecord::Base {
has_many :posts
}
class Post < ActiveRecord:Base {
belongs_to :topic, :dependent => true
}
Now, I wish to sort the topics by the created_at property of the last
post, but I can''t
2006 Mar 09
4
cross domain cookies
Does anybody know how to access the domain of a cookie from inside rails?
I am try to integrate phpbb forums into my site and one of the things phpbb
does is store a cookie. The forums are at forums.domain.com and the site is
www.domain.com so i needed to set the cookie domain in phpbb to just be
".domain.com" so both sites can access it. The trouble is when using
cookies[] in rails,
2006 Apr 12
13
rhtml produces so many white places?????
Hi,
I have a rhtml file that uses some ruby code inside,
there are not too ruby codes, but it repeats itself
thousands of time. I find out each time when the ruby
code execute, it will produce the html code correctly.
But the produced html will conseved the "format" of
the rhtml, and it adds a lot no used white space!!!!
example : toto.rhtml
<body>
<table>
<% data.each{
2006 Apr 10
1
Tracking 1.1.x release using svn:externals?
Now that Rails is doing regular updates to 1.1.x branch, is it possible
to track the this release using svn:externals inside my app?
Currently I have:
rails http://dev.rubyonrails.org/svn/rails/tags/rel_1-1-1/
in my vendor directory. Can I change this to something like a wildcard
''rel_1-1-x'', ensuring that I always have the latest of the stable 1.1
branch?
Cheers!
Tom
2006 Mar 30
0
Making the session cookie persistent
Searching gmane, I''ve found many discussions on the subject, but never a
definitive answer. How can I make the session cookie (i.e., the cookie where
rails keeps the session ID) persistent?
-- Pazu
2006 Apr 27
15
Which is faster, calling helpers or rendering a partial?
Using partials is a nice way to separate chunks of content into
separate pages as opposed to building strings in helpers, but I''m
wondering which is faster. It scares me when I see stuff like:
Rendered users/_public (0.00051)
Rendered users/_public (0.00009)
Rendered users/_public (0.00008)
Rendered users/_public (0.00008)
Rendered users/_public (0.00008)
....50 more times
Has anyone
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
...(msR|TtF^L-_2 at T=TS
za4NmhxxD_4I?83tHLboI1Ok=@VmT?ZG?08f5SwyG=5;K1ZN3|hzOV9v_dPOM;KR{3
zR--G$#X!I6(ZBbMy5a$*3w`!9zp6ORKTb$oLHb3$8;;$V1!CK!%rca{_{OrYaoIm0
z?Gm4T>>eu?ea)l);29M|$*&d0$?9Use at 7+9!1LT#aC;#3wUlW`!ApIz#^-ohy*=<N
zsp%2CVY{m;Ju_%r_u!e5CNDov@*{anV=Q at Sw@YqtLO#W(YEdW7*BR$-W)PaZU=V)v
zfI%1w(S>%OkEjR|mX8#vxbD%rJ$jQ@|Iwq5^^SUkU)C#-v!+N6w9y{{FXgk>L(^xk
zhx;poqyIhw_9It_?JUHurPcC3Wp0Nk5O-z4FYNZY2^*R|va$6;V%Mu40f)SY=fCRg
zh}a*8#NHY5JIT6H+RGRXvSoQ*_Tq2!KM+duK-m{Qa9t%GY(*e8<BrUVK=O at 1Y~~%A
zH&EC6d=>vcac=@1SCyTMo>Su)s#K-Hqp(Yo3s=cq-4L2IouqS<bV4<)zTN764TRk9...
2006 Apr 04
0
schema.rb: foreign keys and reference data
Is there any way to add:
1) Foreign keys, and
2) Reference data
to db/schema.rb? I''ve browsed the docs and couldn''t find a way to do either of
those tasks.