Displaying 4 results from an estimated 4 matches for "e_simply".
Did you mean:
_simply_
2008 Jun 12
3
Upgrading to 2.1 breaks my named routes
...empted to log in to my application and
when this line is reached in my login action:
redirect_to(index_url)
I get the error
"wrong number of arguments (0 for 1)" [stack trace below].
Here''s my route:
map.index ''index'', :controller => ''e_simply'', :action => ''index''
I found this very lengthy discussion on lighthouse about this bug:
http://rails.lighthouseapp.com/projects/8994/tickets/22-default_url_options-is-being-ignored-by-named-route-optimisation
I assume that this got fixed or no one would be able to u...
2006 Aug 09
0
Routing: Best default route for static files?
All,
I have several image files that I''m serving from my app.
I get lots of "ActionController::RoutingError" errors in my log, but
then these files are served anyway by Apache.
Here is my routes.rb file:
map.connect '''', :controller => ''e_simply'', :action => ''login_form''
map.connect '':controller/:action/:id/:data'', :data => nil
map.connect '':controller/:action/*filename''
1) What is the best route to use to allow anything through that I would
put at the bottom of thi...
2006 Mar 27
3
regular expression matching in routes.rb
All,
I have a route specified as:
map.connect '':folder/:filename'', :folder => /htmlfiles/, :controller =>
"eSimply", :action => "preview_HTML"
I expect it to invoke the "preview_HTML" action in the "eSimply"
controller.
Given an argument of "htmlfiles/xyz.html", it keeps saying that it can''t
find an
2006 Jul 10
10
has_many :through and foreign key parameters
I just took my HABTM and turned it into a :through since my join table
has another "non-joiny" attribute.
I went from this:
has_many_and_belongs_to :jobs, :join_table => ''tablename'',
:foreign_key => ''x'',
:association_foreign_key => ''y''
to this:
has_many :jobs, :through =>