pauladaniel / calendardateselect

Automatically exported from code.google.com/p/calendardateselect
Other
0 stars 0 forks source link

Active Scaffold and Calendar Date Select conflict #171

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install latest AS plugin version
2. Install latest CDS plugin version
3. When looking at the active scaffold pages error message is displayed. 
Even when i take out <%= calendar_date_select_includes %> from the layout i
still get this error message undefined local variable or method
`calendar_date_select_javascripts' for #<ActionView::Base:0x6bd2814> when
loading the page for active scaffold

What is the expected output? What do you see instead?
Expect AS and CDS to work without conflicts

What version of the product are you using? On what operating system?
Windows Vista

Please provide any additional information below.
The workaround solution is to go to
active_scaffold/lib/bridges/calendar_date_select/lib/as_cds_bridge.rb and
remove everything from line 35 down, this seems to fix the problem. 

Thanks,
Faheem Merchant
VillageReach

Original issue reported on code.google.com by fat.merc...@gmail.com on 4 Aug 2009 at 3:29

GoogleCodeExporter commented 8 years ago
Here is the pastie incase you needed it for future reference

http://pastie.org/570614

Original comment by fat.merc...@gmail.com on 4 Aug 2009 at 3:30

GoogleCodeExporter commented 8 years ago
The problem is that AS is trying to call a method removed in recent CDS 
version. This can probably be fixed by 
replacing it with the new method.

Original comment by lab...@gmail.com on 4 Aug 2009 at 3:33

GoogleCodeExporter commented 8 years ago
Which is the new method which replaces calendar_date_select_javascripts and 
calendar_date_select_stylesheets?

Original comment by coola...@gmail.com on 23 Jan 2010 at 4:45