I've added two before filters in one of my controllers like so:
before_filter :filter_one
before_filter :filter_two
The first filter (:filter_one) always fires, but the second filter
(:filter_two) never does. Anyone know how to make both filters always
fire?
Thanks.
-Dan
--
Posted via http://
Hi,
Does anyone know why I'm getting the following load error:
no such file to load -- ejs (in
/home/dan/Projects/faculty/app/assets/templates/home/index.jst.ejs)
The index.jst.ejs file does exist and is located exactly where the error
message states.
I've appended 'app/assets/template' folder
Anyone know how to combine Devise with RubyCAS client to authenticate
against a Jasig CAS server? Thanks.
-Dan
--
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 group, send email
Msan Msan wrote in post #1035622:
> What is the js framework you are using?
Backbone.js (see http://documentcloud.github.com/backbone/)
> I read something about sproutcore, do you know?
I've tried sproutcore and while it's nice, I prefer Backbone and
Knockout.
--
Posted via http://www.ruby-for
Msan Msan wrote in post #1035431:
> Can I ask why you want to switch from grails to rails?
> I use grails and rails for my applications, I love both, and I think
> that grails is as good as rails.
Recently, most of my work has been Grails based. However, I do have
experience with both Grails and R
I'm considering swapping out Grails for Ruby on Rails as the front-end
for my application, which is currently comprised of a Grails front-end
and a couple of RESTful "backend" Java Web Services. The various
components are tied together using CAS. Before going ahead with the swap
I'd appreciate insi
When I run rake db:seed in my Rails 3 application I get the following
error; anyone know how to resolve it?
rake aborted!
undefined method
'find_or_create_by_first_name_and_last_name_and_role_and_email_and_password_and_password_confirmation'
Below are my create_users.rb,user.rb, and seeds.rb file
Hi,
In my Rails 3 app I want to log 'unknown action' and 'routing error'
incidences and re-direct to the home page. With this goal in mind, I
added the following to bottom of my routes.rb file:
match '*' => 'home#index'
I thought that this catch-all would re-direct to the home page in case
of '
When I run the 'bundle install' command from the main directory of my
ruby on rails (version 3) app, I get the following error:
Installing sqlite3 (1.3.3) with native extensions
C:/jruby-1.6.0.RC2/lib/ruby/site_ruby/1.8/rubygems/installer.rb:529:in
`build_extensions': ERROR: Failed to build gem na
9 matches
Mail list logo