Displaying 11 results from an estimated 11 matches for "justinfrench".
2006 Mar 14
5
Controller Naming Question
Is it possible to have controllers named the following?
/admin
/admin/user
If not, is there some way to get it to work with routes?
I want to have some actions at the url /admin/<action> and some at
/admin/user/<action> (obviously in admin/user controller).
Thanks!!!
2006 May 31
13
What are controller modules *for*?
...llers in another. I
thought that this might give me a way to DRY the code up - by having the
secure module enforce the login requirement. But if there is a way to
achieve this, it''s escaping me.
I can obviously achieve the desired effect through inheritance, as
described here:
http://justinfrench.com/index.php?id=122
But this requires me to remember to change the base class of each new
secure controller (and raises the spectre of having a controller in the
secure module which doesn''t inherit from the appropriate base).
Am I missing something?
Thanks!
paul.butcher->msgCount...
2006 Apr 14
1
[OT] Serving Multiple Stylesheets
I was wondering whether there is unbearable overhead involved in breaking css
into multiple stylesheets? I''m running lighttpd, and the following article
discusses why one might want to do that:
http://justinfrench.com/?id=141
My CSS is beginning to get a bit lumpy to digest in one glance and the
article(s) seem to make a cogent argument for separating functional elements
out. I just wanted to make sure there weren''t any Rails or server issues
that would be problematic.
TIA
--
View this message in...
2010 Feb 19
3
Hooking validates
I want to hook the validation routines so that I can flag html labels
and change their color to better indicate which fields need to be
corrected in a form.
Is there a way to do this conveniently and/or conventionally?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2010 Jun 21
9
[BUG] Segmentation fault
...#39;'factory_girl_rails''
gem ''cucumber''
end
gem "devise", :git => "git://github.com/plataformatec/devise.git"
gem ''cancan''
gem ''redgreen''
gem ''formtastic'', :git => "git://github.com/justinfrench/
formtastic.git", :branch => "rails3"
gem ''mail''
After installing all the gems and running rspec ./spec/controllers/
some_file.rb I get the following error:
http://gist.github.com/446668
Running any other rake task gave me the same error. I tried removing
the...
2006 Feb 13
2
categories and admin/categories - different controllers and templates?
Is there some way to have these two sets of URLs use
totally different controllers and templates?
categories/list
categories/show/1
admin/categories/list
admin/categories/edit/1
admin/categories/destroy/1
admin/categories/update/1
Besides, of course, using different controller names
;). The first URL is publicly accessible, while the
second contains admin functions. Also, with the
second,
2005 Jul 15
5
Nested Controllers
Hi there,
I wondered if anybody had any experience with having nested
controllers?For example, I''d like a hierarchy something like this:
/product
/product/list
/product/detail
/product/detail/category
I can''t find any documentation on this, so any advice/experience
anybody might have would prove useful.
N.B. This is for a generator which builds Views and Controllers
2006 Jul 31
0
How do I make controller hierachies? Inherit or route them?
...osed to be necessary.
I like the inheritance technique because it lets me put common methods
in one place. On the other hand, maybe it doesn''t have to be so
complicated. I can''t find much information on best practices. Any
advice would be much appreciated.
Jose
[1] http://justinfrench.com/index.php?id=122
--
Posted via http://www.ruby-forum.com/.
2011 Oct 11
1
How to use carrierwave with active admin?
Hi, I''d like to upload images and videos with carrierwave at the active
admin interface.
Just to make it clear, the admin will change images and video at the website
using active admin.
if anyone knows how to do this please help me.
Thank you,
Rodrigo
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this
2006 Jan 06
3
Using DIV tags in HTML - a better Ruby/Rails way?
People,
I can use a DIV tag for exact positioning of fields on a form:
Creating a DIV tag creates a layer.
The DIV tag contains a style attribute with positioning information. It
might also have border and size information, if appropriate.
Here is the basic DIV tag required for exact positioning:
<div
style="
top: 99;
left: 99;
position: absolute;
2006 Jan 03
22
Large-scale application
Hi fellow railers!
We are discussing the possibility of writing a very large application in
Rails. By "very large" I mean a framework that would contain a few
hundred smaller applications that would need to talk to one big database
and have to share some common session data I''d like to get some
feedback on some possible ways of doing the following:
The application would