Ruby on Rails Monday, May 28, 2012

Your code is using /jquery.enumerable.js, i think that should to be /assets/jquery.enumerable.js


2012/5/28 Avantec Van <lists@ruby-forum.com>
I'm getting like this.

Started GET "/assets/default-29f3ac14573e3f12dbc548f8ddfd2539.css" for
127.0.0.1 at 2012-05-28 18:48:13 +0530
Served asset /default-29f3ac14573e3f12dbc548f8ddfd2539.css - 200 OK
(0ms)


Started GET "/assets/application-ac0727cff827eda05de7885e72c3d785.js"
for 127.0.0.1 at 2012-05-28 18:48:13 +0530

Served asset /application-ac0727cff827eda05de7885e72c3d785.js - 200 OK
(433ms)

Started GET "/jquery.enumerable.js" for 127.0.0.1 at 2012-05-28 18:48:13
+0530

ActionController::RoutingError (No route matches [GET]
"/jquery.enumerable.js"):
 actionpack (3.2.3)
lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
 actionpack (3.2.3)
lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
 railties (3.2.3) lib/rails/rack/logger.rb:26:in `call_app'
 railties (3.2.3) lib/rails/rack/logger.rb:16:in `call'
 actionpack (3.2.3) lib/action_dispatch/middleware/request_id.rb:22:in
`call'
 rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
 rack (1.4.1) lib/rack/runtime.rb:17:in `call'
 activesupport (3.2.3)
lib/active_support/cache/strategy/local_cache.rb:72:in `call'
 rack (1.4.1) lib/rack/lock.rb:15:in `call'
 rack-cache (1.2) lib/rack/cache/context.rb:136:in `forward'
 rack-cache (1.2) lib/rack/cache/context.rb:245:in `fetch'
 rack-cache (1.2) lib/rack/cache/context.rb:185:in `lookup'
 rack-cache (1.2) lib/rack/cache/context.rb:66:in `call!'
 rack-cache (1.2) lib/rack/cache/context.rb:51:in `call'
 railties (3.2.3) lib/rails/engine.rb:479:in `call'
 railties (3.2.3) lib/rails/application.rb:220:in `call'
 rack (1.4.1) lib/rack/content_length.rb:14:in `call'
 railties (3.2.3) lib/rails/rack/log_tailer.rb:14:in `call'
 rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
 /home/abhilash/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:138:in
`service'
 /home/abhilash/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/httpserver.rb:94:in
`run'
 /home/abhilash/.rvm/rubies/ruby-1.9.3-p0/lib/ruby/1.9.1/webrick/server.rb:191:in
`block in start_thread'


Started GET "/assets/main_menu-32c3030c98e5467d7b6576b62628d666.css" for
127.0.0.1 at 2012-05-28 18:48:13 +0530
Served asset /main_menu-32c3030c98e5467d7b6576b62628d666.css - 200 OK
(0ms)
Creating scope :page. Overwriting existing method DmcaForm.page.


Started GET "/assets/fileuploader-605078d1c41ade9432c60fac9503e43d.js"
for 127.0.0.1 at 2012-05-28 18:48:13 +0530
Served asset /fileuploader-605078d1c41ade9432c60fac9503e43d.js - 200 OK
(0ms)


Started GET
"/assets/upload_drag_drop-1822bb96034488fe891690aa5d03d648.js" for
127.0.0.1 at 2012-05-28 18:48:13 +0530
Served asset /upload_drag_drop-1822bb96034488fe891690aa5d03d648.js - 200
OK (0ms)


Started GET "/assets/main_menu-32c3030c98e5467d7b6576b62628d666.css" for
127.0.0.1 at 2012-05-28 18:48:13 +0530
Served asset /main_menu-32c3030c98e5467d7b6576b62628d666.css - 200 OK
(0ms)
Creating scope :page. Overwriting existing method DmcaForm.page.


Started GET "/assets/fileuploader-605078d1c41ade9432c60fac9503e43d.js"
for 127.0.0.1 at 2012-05-28 18:48:13 +0530
Served asset /fileuploader-605078d1c41ade9432c60fac9503e43d.js - 200 OK
(0ms)


Started GET
"/assets/upload_drag_drop-1822bb96034488fe891690aa5d03d648.js" for
127.0.0.1 at 2012-05-28 18:48:13 +0530
Served asset /upload_drag_drop-1822bb96034488fe891690aa5d03d648.js - 200
OK (0ms)

 I'm getting fileuploader, upload_drag_drop etc, but not getting other
javascripts.


Thanks,
Avantec


Fernando Almeida wrote in post #1062381:
> What is the log?
>
> 2012/5/28 Avantec Van <lists@ruby-forum.com>
>
>> And I'm calling it in layout as <%= javascript_include_tag "application"
>> But those are not working in production mode. I have given everything to
>>

> --
> Fernando Almeida
> www.fernandoalmeida.net

--
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 to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.




--
Fernando Almeida
www.fernandoalmeida.net

--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

No comments:

Post a Comment