Displaying 4 results from an estimated 4 matches for "aldred".
Did you mean:
addred
2010 Mar 30
0
using haml in internationalisation with haml views
...some paragraph
%p
another paragraph
"
view.html.haml
------------------- (works)
=Haml::Engine.new(t(''page.content)).render
-------------------(does not)
=t(''page.content)
is the first example the only way to do this?
or am I going about this all wrong?
--
Rob Aldred
http://robaldred.co.uk
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to rubyonra...
2007 Jul 23
3
Scriptaculous blind animation jerky when DIV contains a lot of content
Hi
I have set up the following example to illustrates the problem I am
having with scriptaculous.
http://www.webmaint.com/scriptaculous_demo.html
You will notice the animation is very jerky and looks awful in
Firefox, and it just about passable in Internet Explorer
I presume this is because of the way the browser renders the data in
the select boxes.
Is there any work around that could create a
2008 Jan 24
3
Help to spec a rails helper method that uses content_for
Hi guys,
I am a Rspec newbie and am having problems creating a spec for a RoR helper
method.
I have in fact already implemented the helper method and am trying to create
retrospective specs. I know its the wrong way to do it but I am still
learning Rspec.
In my view I have a call to a helper method.
<% body_class "users" %>
which sets a CSS class declaration in the content_for
2011 Jun 15
0
rail_upgrade gem fails to recognise environment.rb
...nerate a new application rb for a
project i am trying to get onto rails 3.
Running: rake rails:upgrade:configuration --trace
Results in the following error:
There doesn''t seem to be a real environment.rb in your app. Are you sure
config/environment.rb has the right contents?
/Users/robaldred/Sites/StardotSite/stardoteditor/vendor/plugins/rails_upgrade/lib/tasks/../../lib/new_configuration_generator.rb:29:in
`generate_new_application_rb''
/Users/robaldred/Sites/StardotSite/stardoteditor/vendor/plugins/rails_upgrade/lib/tasks/rails_upgrade_tasks.rake:37
Seems like the regex us...